feat(argocd-notifications): add service account annotations (#673)

* 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>
This commit is contained in:
César Yuji Okuti 2021-05-26 18:41:33 -03:00 committed by GitHub
parent be7c6c5721
commit e2975df4c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View file

@ -5,4 +5,8 @@ metadata:
name: {{ include "argocd-notifications.bots.slack.serviceAccountName" . }}
labels:
{{- include "argocd-notifications.bots.slack.labels" . | nindent 4 }}
{{- with .Values.bots.slack.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{ end }}
{{ end }}