Skip to content

Commit 72103a7

Browse files
authored
Fix confrmance coredns deployment (#3389)
The deployment would fail on some kubernetes distributions due to missing capabilities
1 parent b367e00 commit 72103a7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

conformance/base/manifests.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,13 @@ spec:
706706
- /root/Corefile
707707
image: coredns/coredns
708708
name: coredns
709+
securityContext:
710+
allowPrivilegeEscalation: false
711+
capabilities:
712+
add:
713+
- NET_BIND_SERVICE
714+
drop:
715+
- ALL
709716
volumeMounts:
710717
- mountPath: /root
711718
name: conf

0 commit comments

Comments
 (0)