mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Run node-local-dns in non-privileged mode
This commit is contained in:
parent
ef7fc10460
commit
bfe98c0c2a
@ -145,7 +145,9 @@ spec:
|
||||
memory: 5Mi
|
||||
args: [ "-localip", "__PILLAR__LOCAL__DNS__,__PILLAR__DNS__SERVER__", "-conf", "/etc/Corefile", "-upstreamsvc", "kube-dns-upstream" ]
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- containerPort: 53
|
||||
name: dns
|
||||
|
Loading…
Reference in New Issue
Block a user