Skip to content

Commit

Permalink
Merge pull request #5494 from janosi/wh_runasuser
Browse files Browse the repository at this point in the history
Add configuration option for the runAsUser parameter of the webhook patch job
  • Loading branch information
k8s-ci-robot authored May 4, 2020
2 parents 45698ca + 5148443 commit 4b62da8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
runAsUser: 2000
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
runAsUser: 2000
{{- end }}
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
{{- end }}
1 change: 1 addition & 0 deletions charts/ingress-nginx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ controller:
priorityClassName: ""
podAnnotations: {}
nodeSelector: {}
runAsUser: 2000

metrics:
port: 10254
Expand Down

0 comments on commit 4b62da8

Please sign in to comment.