Skip to content

Commit a8f805c

Browse files
cursoragentjeboehm
andcommitted
Add NET_BIND_SERVICE capability to unbound container
Co-authored-by: j.boehm <[email protected]>
1 parent 98d3134 commit a8f805c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

deploy/kustomize/unbound/deployment.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ spec:
3838
capabilities:
3939
drop:
4040
- ALL
41+
add:
42+
- NET_BIND_SERVICE
4143
ports:
4244
- name: dns
4345
containerPort: 53
@@ -66,10 +68,6 @@ spec:
6668
requests:
6769
cpu: 50m
6870
memory: 32Mi
69-
securityContext:
70-
capabilities:
71-
add:
72-
- NET_BIND_SERVICE
7371
securityContext:
7472
fsGroup: 101
7573
fsGroupChangePolicy: OnRootMismatch

0 commit comments

Comments
 (0)