Skip to content

Commit c4d99bb

Browse files
authored
fix(controller): expose ARGOCD_SYNC_WAVE_DELAY as configurable parameter (#24536)
Signed-off-by: u-kai <[email protected]>
1 parent 21ec075 commit c4d99bb

13 files changed

+74
-0
lines changed

docs/operator-manual/argocd-cmd-params-cm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ data:
6666
controller.self.heal.backoff.cap.seconds: "300"
6767
# Specifies a sync timeout for applications. "0" means no timeout (default "0")
6868
controller.sync.timeout.seconds: "0"
69+
# Specifies the delay in seconds between each sync wave to give other controllers a chance to react to spec changes. (default "2")
70+
controller.sync.wave.delay.seconds: "2"
6971

7072
# Cache expiration for app state (default 1h0m0s)
7173
controller.app.state.cache.expiration: "1h0m0s"

manifests/base/application-controller-deployment/argocd-application-controller-deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ spec:
127127
name: argocd-cmd-params-cm
128128
key: controller.self.heal.backoff.cooldown.seconds
129129
optional: true
130+
- name: ARGOCD_SYNC_WAVE_DELAY
131+
valueFrom:
132+
configMapKeyRef:
133+
name: argocd-cmd-params-cm
134+
key: controller.sync.wave.delay.seconds
135+
optional: true
130136
- name: ARGOCD_APPLICATION_CONTROLLER_SYNC_TIMEOUT
131137
valueFrom:
132138
configMapKeyRef:

manifests/base/application-controller/argocd-application-controller-statefulset.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ spec:
130130
name: argocd-cmd-params-cm
131131
key: controller.self.heal.backoff.cooldown.seconds
132132
optional: true
133+
- name: ARGOCD_SYNC_WAVE_DELAY
134+
valueFrom:
135+
configMapKeyRef:
136+
name: argocd-cmd-params-cm
137+
key: controller.sync.wave.delay.seconds
138+
optional: true
133139
- name: ARGOCD_APPLICATION_CONTROLLER_SYNC_TIMEOUT
134140
valueFrom:
135141
configMapKeyRef:

manifests/core-install-with-hydrator.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/core-install.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/ha/install-with-hydrator.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/ha/install.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/ha/namespace-install-with-hydrator.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/ha/namespace-install.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/install-with-hydrator.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)