mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
use serviceAccountName instead of deprecated serviceAccount (#12158)
Signed-off-by: Francesco Ilario <filario@redhat.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
873522f44a
commit
b0816b97ef
4 changed files with 4 additions and 4 deletions
|
@ -77,7 +77,7 @@ spec:
|
|||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccount: {{ template "kyverno.fullname" . }}-remove-configmap
|
||||
serviceAccountName: {{ template "kyverno.fullname" . }}-remove-configmap
|
||||
{{- with .Values.webhooksCleanup.podSecurityContext }}
|
||||
securityContext:
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
|||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccount: {{ template "kyverno.admission-controller.serviceAccountName" . }}
|
||||
serviceAccountName: {{ template "kyverno.admission-controller.serviceAccountName" . }}
|
||||
{{- with .Values.policyReportsCleanup.podSecurityContext }}
|
||||
securityContext:
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
|
|
|
@ -87,7 +87,7 @@ spec:
|
|||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccount: {{ template "kyverno.fullname" . }}-migrate-resources
|
||||
serviceAccountName: {{ template "kyverno.fullname" . }}-migrate-resources
|
||||
{{- with .Values.crds.migration.podSecurityContext }}
|
||||
securityContext:
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
|||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccount: {{ template "kyverno.admission-controller.serviceAccountName" . }}
|
||||
serviceAccountName: {{ template "kyverno.admission-controller.serviceAccountName" . }}
|
||||
{{- with .Values.webhooksCleanup.podSecurityContext }}
|
||||
securityContext:
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue