feat(argo-cd): Add support for configuring argo-notifications log level and format (#2127)

* Add env vars for notification logging.

Signed-off-by: Josh Baird <jbaird@galileo.io>

* Indent.

Signed-off-by: Josh Baird <jbaird@galileo.io>

* Update CHANGELOG.

Signed-off-by: Josh Baird <jbaird@galileo.io>

* Bump chart version.

Signed-off-by: Josh Baird <jbaird@galileo.io>

* Remove extra line.

Signed-off-by: Josh Baird <jbaird@galileo.io>

* Bump to 5.6.38.

Signed-off-by: Josh Baird <jbaird@galileo.io>

---------

Signed-off-by: Josh Baird <jbaird@galileo.io>
This commit is contained in:
Josh Baird 2023-06-26 10:53:40 -04:00 committed by GitHub
parent 4d0ae17c2f
commit 78e99e9911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 5 deletions

View file

@ -66,10 +66,22 @@ spec:
{{- range .Values.notifications.extraArgs }}
- {{ . | squote }}
{{- end }}
{{- with (concat .Values.global.env .Values.notifications.extraEnv) }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with (concat .Values.global.env .Values.notifications.extraEnv) }}
{{- toYaml . | nindent 12 }}
{{- end }}
- name: ARGOCD_NOTIFICATIONS_CONTROLLER_LOGLEVEL
valueFrom:
configMapKeyRef:
key: notificationscontroller.log.level
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_NOTIFICATIONS_CONTROLLER_LOGFORMAT
valueFrom:
configMapKeyRef:
key: notificationscontroller.log.format
name: argocd-cmd-params-cm
optional: true
{{- with .Values.notifications.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}