-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also allow updating st2chatops external-scripts.json file
- Loading branch information
1 parent
2824650
commit f867681
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Release.Name }}-st2chatops-hubot-external-scripts | ||
annotations: | ||
description: Custom Hubot external script registration in '/opt/stackstorm/chatops/external-scripts.json' | ||
labels: | ||
app: st2 | ||
tier: backend | ||
vendor: stackstorm | ||
chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
data: | ||
{{/* keep this list synchronized with https://github.com/StackStorm/st2chatops/blob/master/external-scripts.json */}} | ||
{{- $st2chatopsExternalScripts := list "hubot-stackstorm" "hubot-help" }} | ||
{{- $customExternalScripts := .Values.st2chatops.hubotExternalScripts | default (list) }} | ||
external-scripts.json: | | ||
{{ toPrettyJson (concat $customExternalScripts $st2chatopsExternalScripts) | indent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters