fix: review recommendation

Signed-off-by: kostas-theo <ktheo@oneconcern.com>
This commit is contained in:
kostas-theo 2021-04-30 18:45:38 +02:00
parent 1a2b9bad95
commit 81fd01762d

View file

@ -6,7 +6,7 @@ metadata:
name: {{ .Values.serviceAccount }} name: {{ .Values.serviceAccount }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
{{- if .Values.serviceAccountAnnotations }} {{- if .Values.serviceAccountAnnotations }}
annotations: {{ toYaml .Values.serviceAccountAnnotations | nindent 4 }} annotations: {{- toYaml .Values.serviceAccountAnnotations | nindent 4 }}
{{- end }} {{- end }}
{{- if .Values.additionalSaNamespaces }} {{- if .Values.additionalSaNamespaces }}
{{ $annotations := .Values.serviceAccountAnnotations }} {{ $annotations := .Values.serviceAccountAnnotations }}