Adding annotations to the controller service account (#8173)

* fix: adding annotations to the controller service account

* fix: adding annotations to the controller service account
This commit is contained in:
Billy Walker 2022-01-27 03:12:50 +00:00 committed by GitHub
parent 6eecefd3da
commit 0c2070ef4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -10,5 +10,9 @@ metadata:
{{- end }}
name: {{ template "ingress-nginx.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}