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 }}
|
annotations: {{ toYaml .Values.serviceAccountAnnotations | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.additionalSaNamespaces }}
|
{{- if .Values.additionalSaNamespaces }}
|
||||||
|
{{ $annotations := .Values.serviceAccountAnnotations }}
|
||||||
{{ $sa := .Values.serviceAccount }}
|
{{ $sa := .Values.serviceAccount }}
|
||||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||||
---
|
---
|
||||||
|
@ -17,8 +18,8 @@ kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $sa }}
|
name: {{ $sa }}
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
{{- if .Values.serviceAccountAnnotations }}
|
{{- if $annotations }}
|
||||||
annotations: {{ toYaml .Values.serviceAccountAnnotations | nindent 4 }}
|
annotations: {{ toYaml $annotations | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue