Add /opt/cni/bin to allowed hostdir

One positive thing about the now reverted commit
that broke deployments is this misconfiguration caught [1].

[1] https://review.opendev.org/c/openstack/magnum/+/786430

Change-Id: Ic91c58aaf3e6ada92fe9fbdd3474b905ca9f08cb
This commit is contained in:
Tobias Urdin 2021-04-23 15:57:34 +02:00
parent bfffeca927
commit 13e066496c
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ spec:
- pathPrefix: "/etc/cni/net.d"
- pathPrefix: "/etc/kube-flannel"
- pathPrefix: "/run/flannel"
- pathPrefix: "/opt/cni/bin"
readOnlyRootFilesystem: false
# Users and groups
runAsUser: