feat: Helm chart contribution for argocd-notifications (#365)
* Helm chart contribution for argocd-notifications The following chart is a contribution from work done at https://github.com/Bandwidth/ to facilitate installing https://github.com/argoproj-labs/argocd-notifications via Helm chart based on https://github.com/argoproj-labs/argocd-notifications/blob/master/manifests/install.yaml
This commit is contained in:
parent
8e00437e07
commit
ea4ba2283c
13 changed files with 369 additions and 3 deletions
16
charts/argocd-notifications/templates/secret.yaml
Normal file
16
charts/argocd-notifications/templates/secret.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{{ if .Values.secret.create }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "argocd-notifications.name" . }}-secret
|
||||
labels:
|
||||
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
stringData:
|
||||
notifiers.yaml: |
|
||||
{{- if .Values.secret.notifiers.slack.enabled }}
|
||||
slack:
|
||||
token: {{ .Values.secret.notifiers.slack.token }}
|
||||
username: {{ .Values.secret.notifiers.slack.username }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue