Browse Source

add calico-node selinux (#6359)

pull/6406/head
chenguoquan1024 4 years ago
committed by GitHub
parent
commit
e1873ab872
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/network_plugin/calico/templates/calico-node.yml.j2

4
roles/network_plugin/calico/templates/calico-node.yml.j2

@ -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.
@ -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', '<') %}

Loading…
Cancel
Save