mirror of
https://github.com/nold360/hive-apps
synced 2024-11-20 04:29:26 +00:00
26 lines
1.8 KiB
YAML
26 lines
1.8 KiB
YAML
# 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=true # disables resource validation (equivalent to 'kubectl apply --validate=false') ( true by default ).
|
|
- CreateNamespace=false # 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=false # Allow the ability for resource pruning to happen as a final, implicit wave of a sync operation
|
|
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
|