feat: Added service account annotations for argo-events-sa.
This commit is contained in:
parent
8b9e252b04
commit
46f6f24d19
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ metadata:
|
|||
annotations: {{ toYaml .Values.serviceAccountAnnotations | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.additionalSaNamespaces }}
|
||||
{{ $annotations := .Values.serviceAccountAnnotations }}
|
||||
{{ $sa := .Values.serviceAccount }}
|
||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||
---
|
||||
|
@ -17,8 +18,8 @@ kind: ServiceAccount
|
|||
metadata:
|
||||
name: {{ $sa }}
|
||||
namespace: {{ $namespace }}
|
||||
{{- if .Values.serviceAccountAnnotations }}
|
||||
annotations: {{ toYaml .Values.serviceAccountAnnotations | nindent 4 }}
|
||||
{{- if $annotations }}
|
||||
annotations: {{ toYaml $annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue