feat(argo-cd): Set ARGOCD_CONTROLLER_REPLICAS automatically (#1413)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
Petr Drastil 2022-08-25 13:35:17 +02:00 committed by GitHub
parent 31e0156992
commit 4e9663c747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 41 additions and 47 deletions

View file

@ -119,7 +119,7 @@ controller:
imagePullPolicy: ""
# -- The number of application controller pods to run.
# If changing the number of replicas you must pass the number as `ARGOCD_CONTROLLER_REPLICAS` as an environment variable
# Additional replicas will cause sharding of managed clusters across number of replicas.
replicas: 1
## Application controller commandline flags
@ -146,10 +146,7 @@ controller:
extraArgs: []
# -- Environment variables to pass to application controller
env:
[]
# - name: "ARGOCD_CONTROLLER_REPLICAS"
# value: ""
env: []
# -- envFrom to pass to application controller
# @default -- `[]` (See [values.yaml])