From e30414b256492763774512229b2e4155699426f0 Mon Sep 17 00:00:00 2001 From: Sebastian Sch Date: Thu, 1 Feb 2024 22:45:08 +0200 Subject: [PATCH] add w/a for multus bug in CI Signed-off-by: Sebastian Sch --- hack/run-e2e-conformance-virtual-cluster.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/run-e2e-conformance-virtual-cluster.sh b/hack/run-e2e-conformance-virtual-cluster.sh index 5d78f7a8c..3010fa377 100755 --- a/hack/run-e2e-conformance-virtual-cluster.sh +++ b/hack/run-e2e-conformance-virtual-cluster.sh @@ -197,6 +197,10 @@ do update_host $cluster_name-worker-$num done +# remove the patch after multus bug is fixed +# https://github.com/k8snetworkplumbingwg/multus-cni/issues/1221 +kubectl patch -n kube-system ds/kube-multus-ds --type=json -p='[{"op": "replace", "path": "/spec/template/spec/initContainers/0/command", "value":["cp", "-f","/usr/src/multus-cni/bin/multus-shim", "/host/opt/cni/bin/multus-shim"]}]' + kubectl create namespace container-registry echo "## deploy internal registry"