feat(argo-cd): Add support for application controller dynamic cluster distribution. (#2539)

* Add support for application controller dynamic cluster distribution.

Signed-off-by: Oscar Wieman <oscar@oscarr.nl>

* Added env variables to handle the non-standard names generated by the helm chart.
https://argo-cd.readthedocs.io/en/release-2.9/user-guide/environment-variables/
99723143b9/common/common.go (L252)

Signed-off-by: Oscar Wieman <oscar@oscarr.nl>

---------

Signed-off-by: Oscar Wieman <oscar@oscarr.nl>
This commit is contained in:
Oscar Wieman 2024-02-25 13:47:00 +01:00 committed by GitHub
parent 42b20e0b6b
commit 7c8fab5a7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 413 additions and 2 deletions

View file

@ -75,6 +75,8 @@ spec:
{{- with (concat .Values.global.env .Values.server.env) }}
{{- toYaml . | nindent 10 }}
{{- end }}
- name: ARGOCD_SERVER_NAME
value: {{ template "argo-cd.server.fullname" . }}
- name: ARGOCD_SERVER_INSECURE
valueFrom:
configMapKeyRef: