* 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
16 lines
445 B
YAML
16 lines
445 B
YAML
{{ 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 }}
|