Merge pull request #5494 from janosi/wh_runasuser

Add configuration option for the runAsUser parameter of the webhook patch job
This commit is contained in:
Kubernetes Prow Robot 2020-05-04 13:04:26 -07:00 committed by GitHub
commit 4b62da824e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -46,5 +46,5 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
runAsUser: 2000
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
{{- end }}

View file

@ -48,5 +48,5 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
runAsUser: 2000
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
{{- end }}

View file

@ -367,6 +367,7 @@ controller:
priorityClassName: ""
podAnnotations: {}
nodeSelector: {}
runAsUser: 2000
metrics:
port: 10254