Skip to content

Commit b2bb27a

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

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
@@ -65,10 +67,6 @@ spec:
6567
requests:
6668
cpu: 50m
6769
memory: 32Mi
68-
securityContext:
69-
capabilities:
70-
add:
71-
- NET_BIND_SERVICE
7270
securityContext:
7371
fsGroup: 101
7472
fsGroupChangePolicy: OnRootMismatch

0 commit comments

Comments
 (0)