Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
add cap_net_admin in the container image and dissable apparmor since …
Browse files Browse the repository at this point in the history
…it may not be universally supported (#14)
  • Loading branch information
Kevin Nisbet committed May 14, 2019
1 parent 4bec9ed commit 2225c0b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -57,4 +57,5 @@ RUN mkdir -p /opt/cni/bin && curl -L --retry 5 https://github.com/containernetwo


ADD build/wormhole /wormhole
RUN setcap cap_net_admin=+ep /wormhole && setcap cap_net_raw=+ep /wormhole
CMD ["/wormhole"]
1 change: 0 additions & 1 deletion docs/generic-wormhole.yaml
Expand Up @@ -190,7 +190,6 @@ spec:
k8s-app: wormhole
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
container.apparmor.security.beta.kubernetes.io/wormhole: runtime/default
seccomp.security.alpha.kubernetes.io/pod: runtime/default
spec:
hostNetwork: true
Expand Down
1 change: 0 additions & 1 deletion docs/gravity-wormhole.yaml
Expand Up @@ -155,7 +155,6 @@ spec:
k8s-app: wormhole
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
container.apparmor.security.beta.kubernetes.io/wormhole: runtime/default
seccomp.security.alpha.kubernetes.io/pod: runtime/default
spec:
hostNetwork: true
Expand Down

0 comments on commit 2225c0b

Please sign in to comment.