-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When manually setting the replicas in the environment variable ARGOCD_CONTROLLER_REPLICAS the sync using argo cd fails with the following error:
one or more objects failed to apply, reason: failed to create typed patch object (devops/argo-cd-argocd-application-controller; apps/v1, Kind=StatefulSet): .spec.template.spec.containers[name="application-controller"].env: duplicate entries for key [name="ARGOCD_CONTROLLER_REPLICAS"]
Related helm chart
argo-cd
Helm chart version
9.4.2
To Reproduce
- Install agocd helm chart
- Let argocd manage itself using an Application
- Scale the application controller to 2 or more instances by setting replicas to 2 and the environment variable
ARGOCD_CONTROLLER_REPLICASto 2
Expected behavior
ARGOCD_CONTROLLER_REPLICAS is set in the values and deploys successfully.
Screenshots
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working