Add configuration option for the runAsUser parameter of the webhook patch job
This commit is contained in:
parent
080b917f91
commit
82588a33a7
3 changed files with 4 additions and 3 deletions
|
@ -43,5 +43,5 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 2000
|
runAsUser: {{ .Values.controller.admissionWebhooks.patch.image.runAsUser }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -45,5 +45,5 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 2000
|
runAsUser: {{ .Values.controller.admissionWebhooks.patch.image.runAsUser }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -362,6 +362,7 @@ controller:
|
||||||
repository: jettech/kube-webhook-certgen
|
repository: jettech/kube-webhook-certgen
|
||||||
tag: v1.2.0
|
tag: v1.2.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
runAsUser: 2000
|
||||||
## Provide a priority class name to the webhook patching job
|
## Provide a priority class name to the webhook patching job
|
||||||
##
|
##
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
Loading…
Reference in a new issue