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 }} {{- end }}
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 2000 runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
{{- end }} {{- end }}

View file

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

View file

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