Skip to content

Commit

Permalink
Merge pull request #92 from mozilla-iam/k8s-fixes
Browse files Browse the repository at this point in the history
Adds webhook validation to ingress controller
  • Loading branch information
dividehex authored Dec 20, 2023
2 parents 4ece205 + c29cf7f commit a13d09a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion k8s/templates/ingress-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,15 @@ spec:
- --configmap=$(POD_NAMESPACE)/nginx-configuration
- --publish-service=$(POD_NAMESPACE)/ingress-nginx
- --annotations-prefix=nginx.ingress.kubernetes.io
- --validating-webhook=:8443
- --validating-webhook-certificate=/usr/local/certificates/cert
- --validating-webhook-key=/usr/local/certificates/key
securityContext:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
# www-data -> 33
runAsUser: 101
env:
- name: POD_NAME
Expand Down

0 comments on commit a13d09a

Please sign in to comment.