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>
This commit is contained in:
Marco Kilchhofer 2021-05-26 23:29:17 +02:00 committed by GitHub
parent d15eedb4ec
commit 2d943e4544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

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

View file

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