From 4bf23963dd56c5b752644f4c59c38415a818438e Mon Sep 17 00:00:00 2001 From: dougbtv Date: Thu, 21 May 2020 14:58:31 -0400 Subject: [PATCH] The DHCP CNI daemonset should mount the netns paths Otherwise, it can fail with out being able to locate the netns paths under OCP 4.5 --- bindata/network/multus/003-dhcp-daemon.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindata/network/multus/003-dhcp-daemon.yaml b/bindata/network/multus/003-dhcp-daemon.yaml index 0b2d869f2b..ca00880e26 100644 --- a/bindata/network/multus/003-dhcp-daemon.yaml +++ b/bindata/network/multus/003-dhcp-daemon.yaml @@ -52,6 +52,9 @@ spec: mountPath: /host/run/cni - name: procpath mountPath: /host/proc + - name: netnspath + mountPath: /host/var/run/netns + mountPropagation: HostToContainer volumes: - name: socketpath hostPath: @@ -59,4 +62,8 @@ spec: - name: procpath hostPath: path: /proc + - name: netnspath + hostPath: + path: /run/netns + {{- end}}