diff --git a/Heqetfile b/Heqetfile index eedf8c45..ebeaf724 100644 --- a/Heqetfile +++ b/Heqetfile @@ -2,3 +2,4 @@ heqet_repo=https://github.com/nold360/heqet.git heqet_revision=v3 heqet_path=charts/heqet +heqet_values=values.yaml diff --git a/values.yaml b/values.yaml new file mode 100644 index 00000000..e731e672 --- /dev/null +++ b/values.yaml @@ -0,0 +1,27 @@ +# Default values that are used for creating ArgoCD `Application` definitions +# You can add all supported heqet config options here +defaults: + # ArgoCD Project + project: "default" + + # Kubernetes Cluster + server: https://kubernetes.default.svc + + # Sync policy + syncPolicy: + automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field. + prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ). + selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ). + allowEmpty: false # Allows deleting all application resources during automatic syncing ( false by default ). + syncOptions: # Sync options which modifies sync behavior + - Validate=false # disables resource validation (equivalent to 'kubectl apply --validate=false') ( true by default ). + - CreateNamespace=true # Namespace Auto-Creation ensures that namespace specified as the application destination exists in the destination cluster. + - PrunePropagationPolicy=foreground # Supported policies are background, foreground and orphan. + - PruneLast=true # Allow the ability for resource pruning to happen as a final, implicit wave of a sync operation + # The retry feature is available since v1.7 + retry: + limit: 5 # number of failed sync attempt retries; unlimited number of attempts if less than 0 + backoff: + duration: 5s # the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h") + factor: 2 # a factor to multiply the base duration after each failed retry + maxDuration: 3m # the maximum amount of time allowed for the backoff strategy