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 37cd1ef042
commit 715a43652a

View file

@ -5,6 +5,9 @@ kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccount }}
namespace: {{ .Release.Namespace }}
{{- if .Values.serviceAccountAnnotations }}
annotations: {{- toYaml .Values.serviceAccountAnnotations | nindent 4 }}
{{- end }}
{{- if .Values.additionalSaNamespaces }}
{{ $sa := .Values.serviceAccount }}
{{- range $namespace := .Values.additionalSaNamespaces }}