feat(argo-cd) Add appHardResyncPeriod option for controller (#1320)

Base on this PR upstream https://github.com/argoproj/argo-cd/pull/8928 we can
now provide a hard resync value to the ArgoCD Application Controller

Signed-off-by: JM <jmeridth@gmail.com>

Signed-off-by: JM <jmeridth@gmail.com>
main argo-cd-5.3.6
JM 2022-08-26 11:15:34 -05:00 committed by GitHub
parent eca9f91df4
commit dd4fdef4ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 2 deletions

View File

@ -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"

View File

@ -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` |

View File

@ -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

View File

@ -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`