Merge pull request #150 from The-Loeki/helm-impro

Helm Chart: Add Slack bot name as variable
feature/helm_version
Karolis Rusenas 2018-03-02 12:20:56 +00:00 committed by GitHub
commit 7767e20a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,10 @@ spec:
value: "{{ .Values.slack.channel }}" value: "{{ .Values.slack.channel }}"
- name: SLACK_APPROVALS_CHANNEL - name: SLACK_APPROVALS_CHANNEL
value: "{{ .Values.slack.approvals_channel }}" value: "{{ .Values.slack.approvals_channel }}"
{{- if .Values.slack.bot_name }}
- name: SLACK_BOT_NAME
value: "{{ .Values.slack.bot_name }}"
{{- end }}
{{- end }} {{- end }}
{{- if .Values.hipchat.enabled }} {{- if .Values.hipchat.enabled }}
# Enable hipchat approvials and notification # Enable hipchat approvials and notification

View File

@ -31,8 +31,10 @@ webhook:
endpoint: "" endpoint: ""
# Slack Notification # Slack Notification
# bot name (default keel) must exist!
slack: slack:
enabled: false enabled: false
bot_name: ""
token: "" token: ""
channel: "" channel: ""
approvals_channel: "" approvals_channel: ""