
* add service account to argocd notifications Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com> * change chart.yaml Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com> * remove dots and quotes from toYaml serviceaccount Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com> * chore: Apply suggestions from code review Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix: bump chart version Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
12 lines
345 B
YAML
12 lines
345 B
YAML
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "argocd-notifications.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|