Skip to content

Commit

Permalink
Run CNI daemonset container as privileged
Browse files Browse the repository at this point in the history
It needs write access to host /opt/cni/bin directory which is not generally
accessible to users.
  • Loading branch information
booxter authored and ahalimx86 committed Nov 19, 2018
1 parent 5d6d7c3 commit e84a46e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/sriov-cni-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spec:
containers:
- name: kube-sriov-cni
image: nfvpe/sriov-cni:latest
securityContext:
privileged: true
resources:
requests:
cpu: "100m"
Expand Down

0 comments on commit e84a46e

Please sign in to comment.