File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ appVersion: v2.11-2024.7.30-a31bf96bb
33kubeVersion : " >=1.23.0-0"
44description : A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55name : argo-cd
6- version : 6.11.1-5 -cap-2.11-2024.7.30-a31bf96bb
6+ version : 6.11.1-6 -cap-2.11-2024.7.30-a31bf96bb
77home : https://github.com/argoproj/argo-helm
88icon : https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99sources :
Original file line number Diff line number Diff line change @@ -262,3 +262,14 @@ Create the name of the Argo CD server service account to use
262262 { { default " default" .Values.eventReporter.serviceAccount.name } }
263263{ {- end -} }
264264{ {- end -} }
265+
266+ { {/*
267+ Helper template to set argocd server url in event reporter
268+ */} }
269+ { {- define " argo-cd.eventReporter.argocd-server-adress" -} }
270+ { {- $port := .Values.server.service.servicePortHttps } }
271+ { {- if (index .Values.configs.params " server.insecure" ) } }
272+ { {- $port = .Values.server.service.servicePortHttp } }
273+ { {- end } }
274+ { {- printf " %s:%v" (include " argo-cd.server.fullname" .) $port } }
275+ { {- end -} }
Original file line number Diff line number Diff line change 7171 {{- with (concat .Values.global.env .Values.eventReporter.env) }}
7272 {{- toYaml . | nindent 10 }}
7373 {{- end }}
74+ - name : EVENT_REPORTER_APPLICATION_SERVER
75+ value : {{ include "argo-cd.eventReporter.argocd-server-adress" . }}
7476 - name : EVENT_REPORTER_REPLICAS
7577 value : {{ .Values.eventReporter.replicas | quote }}
7678 - name : ARGOCD_APPLICATION_NAMESPACES
You can’t perform that action at this time.
0 commit comments