Closed csantanapr closed 1 week ago
override for config that controllers fetch dynamically like secrets to connect to helm http/oci or git repos, but not config maps that configure optional environment variables of the controllers
for example in this case here https://github.com/argoproj/argo-cd/blob/master/manifests/install.yaml#L22780-L22785
- name: ARGOCD_RECONCILIATION_TIMEOUT
valueFrom:
configMapKeyRef:
key: timeout.reconciliation
name: argocd-cm
optional: true
The documentation here appears to be incorrect https://github.com/cnoe-io/idpbuilder/blob/main/docs/pluggable-packages.md#runtime-git-server-content-generation
What is your environment, configuration, and command?
idpbuilder v0.5.0
What did you do and What did you see instead?
Lets say I want to have different value for argocd cm config like
timeout.reconciliation: 10s
instead of the default 180smake sure you starting with no cluster kind delete cluster --name localdev
create argocd-cm.yaml
run
Check the config map has the new override of 10s
Check if environment variable is set on app controllers, as you can see its not set
Restart pod and see that the setting is set. The configmap with the override is apply after deploying argocd this should be done before.
Additional Information. Logs.
No response