Added support for webhook triggers. (#380)

This commit is contained in:
Eric Hayes 2020-06-19 15:25:11 -07:00 committed by GitHub
parent c4e4d1439b
commit f3bfd0f6fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 1 deletions

View file

@ -13,4 +13,11 @@ stringData:
token: {{ .Values.secret.notifiers.slack.token }}
username: {{ .Values.secret.notifiers.slack.username }}
{{- end }}
{{- if .Values.secret.notifiers.webhooks }}
webhook:
{{- range $k, $v := .Values.secret.notifiers.webhooks }}
- name: {{ $k }}
{{- $v | toYaml | nindent 8 }}
{{- end }}
{{- end }}
{{ end }}