diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 24261445..13946b16 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.4.11 description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 5.3.5 +version: 5.3.6 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -19,4 +19,4 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Changed]: Upgrade Redis HA to 4.22.1 + - "[Added]: Add appHardResyncPeriod option for application controller" diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index d12ce196..3e66621f 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -380,6 +380,7 @@ NAME: my-release | Key | Type | Default | Description | |-----|------|---------|-------------| | controller.affinity | object | `{}` | Assign custom [affinity] rules to the deployment | +| controller.args.appHardResyncPeriod | string | `"0"` | define the application controller `--app-hard-resync` | | controller.args.appResyncPeriod | string | `"180"` | define the application controller `--app-resync` | | controller.args.operationProcessors | string | `"10"` | define the application controller `--operation-processors` | | controller.args.repoServerTimeoutSeconds | string | `"60"` | define the application controller `--repo-server-timeout-seconds` | diff --git a/charts/argo-cd/templates/argocd-application-controller/statefulset.yaml b/charts/argo-cd/templates/argocd-application-controller/statefulset.yaml index 12379771..7c15b843 100755 --- a/charts/argo-cd/templates/argocd-application-controller/statefulset.yaml +++ b/charts/argo-cd/templates/argocd-application-controller/statefulset.yaml @@ -44,6 +44,8 @@ spec: - {{ .Values.controller.args.operationProcessors | quote }} - --app-resync - {{ .Values.controller.args.appResyncPeriod | quote }} + - --app-hard-resync + - {{ .Values.controller.args.appHardResyncPeriod | quote }} - --self-heal-timeout-seconds - {{ .Values.controller.args.selfHealTimeout | quote }} - --repo-server diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index e69bbb19..f4cb3e44 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -128,6 +128,8 @@ controller: statusProcessors: "20" # -- define the application controller `--operation-processors` operationProcessors: "10" + # -- define the application controller `--app-hard-resync` + appHardResyncPeriod: "0" # -- define the application controller `--app-resync` appResyncPeriod: "180" # -- define the application controller `--self-heal-timeout-seconds`