add calico-node selinux (#6359)
This commit is contained in:
parent
29312a3ec0
commit
e1873ab872
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,8 @@ spec:
|
||||||
name: host-local-net-dir
|
name: host-local-net-dir
|
||||||
- mountPath: /host/opt/cni/bin
|
- mountPath: /host/opt/cni/bin
|
||||||
name: cni-bin-dir
|
name: cni-bin-dir
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
# This container installs the Calico CNI binaries
|
# This container installs the Calico CNI binaries
|
||||||
# and CNI network config file on each node.
|
# and CNI network config file on each node.
|
||||||
|
@ -88,6 +90,8 @@ spec:
|
||||||
name: cni-net-dir
|
name: cni-net-dir
|
||||||
- mountPath: /host/opt/cni/bin
|
- mountPath: /host/opt/cni/bin
|
||||||
name: cni-bin-dir
|
name: cni-bin-dir
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
containers:
|
containers:
|
||||||
{% if calico_version is version('v3.3.0', '>=') and calico_version is version('v3.4.0', '<') %}
|
{% if calico_version is version('v3.3.0', '>=') and calico_version is version('v3.4.0', '<') %}
|
||||||
|
|
Loading…
Reference in a new issue