Use templating in Slack URL, channel and username

This commit is contained in:
Pavel Goglov
2022-03-16 11:48:19 +01:00
committed by Christian Kotzbauer
parent 67232f00d9
commit 640efa56b8
+3 -3
View File
@@ -113,13 +113,13 @@ spec:
- --reboot-delay={{ .Values.configuration.rebootDelay }}
{{- end }}
{{- if .Values.configuration.slackChannel }}
- --slack-channel={{ .Values.configuration.slackChannel }}
- --slack-channel={{ tpl .Values.configuration.slackChannel . }}
{{- end }}
{{- if .Values.configuration.slackHookUrl }}
- --slack-hook-url={{ .Values.configuration.slackHookUrl }}
- --slack-hook-url={{ tpl .Values.configuration.slackHookUrl . }}
{{- end }}
{{- if .Values.configuration.slackUsername }}
- --slack-username={{ .Values.configuration.slackUsername }}
- --slack-username={{ tpl .Values.configuration.slackUsername . }}
{{- end }}
{{- if .Values.configuration.notifyUrl }}
- --notify-url={{ .Values.configuration.notifyUrl }}