Move webhook runAsUser from patch.image.runAsUser to patch.runAsUser
This commit is contained in:
parent
82588a33a7
commit
5148443ca7
3 changed files with 3 additions and 3 deletions
|
@ -43,5 +43,5 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: {{ .Values.controller.admissionWebhooks.patch.image.runAsUser }}
|
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -45,5 +45,5 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: {{ .Values.controller.admissionWebhooks.patch.image.runAsUser }}
|
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -362,12 +362,12 @@ 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: ""
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
runAsUser: 2000
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
port: 10254
|
port: 10254
|
||||||
|
|
Loading…
Reference in a new issue