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:
parent
4d0ae17c2f
commit
78e99e9911
2 changed files with 17 additions and 5 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue