Skip to content

Commit

Permalink
Merge pull request #393 from mrostecki/cilium-fix-caps
Browse files Browse the repository at this point in the history
manifests: cilium: Allow to manage kernel modules
  • Loading branch information
nirmoy authored Jun 18, 2019
2 parents 9591ec6 + e96f703 commit 69f8ead
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkg/skuba/actions/cluster/init/manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,14 @@ spec:
readOnly: true
- name: cilium-etcd-secret-mount
mountPath: /tmp/cilium-etcd
- name: lib-modules
mountPath: /lib/modules
readOnly: true
securityContext:
capabilities:
add:
- "NET_ADMIN"
- "SYS_MODULE"
privileged: true
hostNetwork: true
volumes:
Expand All @@ -436,7 +440,11 @@ spec:
# To install cilium cni configuration in the host
- name: host-cni-conf
hostPath:
path: /etc/cni/net.d
path: /etc/cni/net.d
# To be able to load kernel modules
- name: lib-modules
hostPath:
path: /lib/modules
# To read the etcd config stored in config maps
- name: etcd-config-path
configMap:
Expand Down

0 comments on commit 69f8ead

Please sign in to comment.