Add env vars for notification logging.
Signed-off-by: Josh Baird <jbaird@galileo.io>
This commit is contained in:
parent
b8c29f7db6
commit
736a87a52e
1 changed files with 15 additions and 3 deletions
|
@ -66,10 +66,22 @@ spec:
|
||||||
{{- range .Values.notifications.extraArgs }}
|
{{- range .Values.notifications.extraArgs }}
|
||||||
- {{ . | squote }}
|
- {{ . | squote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with (concat .Values.global.env .Values.notifications.extraEnv) }}
|
|
||||||
env:
|
env:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- with (concat .Values.global.env .Values.notifications.extraEnv) }}
|
||||||
{{- end }}
|
{{- 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 }}
|
{{- with .Values.notifications.extraEnvFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
|
Loading…
Reference in a new issue