Remove setcap and use authbind instead
This commit is contained in:
parent
237dcd7aa7
commit
7210518f80
4 changed files with 59 additions and 39 deletions
|
|
@ -251,14 +251,6 @@ spec:
|
|||
- --publish-service=$(POD_NAMESPACE)/ingress-nginx
|
||||
- --annotations-prefix=nginx.ingress.kubernetes.io
|
||||
- --watch-namespace=${NAMESPACE}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
add:
|
||||
- NET_BIND_SERVICE
|
||||
# www-data -> 33
|
||||
runAsUser: 33
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue