Skip to content

Commit

Permalink
add calico-node selinux (#6359)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenguoquan1024 authored Jul 15, 2020
1 parent 29312a3 commit e1873ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/network_plugin/calico/templates/calico-node.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ spec:
name: host-local-net-dir
- mountPath: /host/opt/cni/bin
name: cni-bin-dir
securityContext:
privileged: true
{% endif %}
# This container installs the Calico CNI binaries
# and CNI network config file on each node.
Expand Down Expand Up @@ -88,6 +90,8 @@ spec:
name: cni-net-dir
- mountPath: /host/opt/cni/bin
name: cni-bin-dir
securityContext:
privileged: true
{% endif %}
containers:
{% if calico_version is version('v3.3.0', '>=') and calico_version is version('v3.4.0', '<') %}
Expand Down

0 comments on commit e1873ab

Please sign in to comment.