From c84c17d7cf6a82ab1befdd78d6e91793605a0814 Mon Sep 17 00:00:00 2001 From: Hongwei Chen Date: Thu, 24 Feb 2022 22:44:18 +0000 Subject: [PATCH] mizar preliminary installtion does not have binary installed --- cluster/gce/gci/configure.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/cluster/gce/gci/configure.sh b/cluster/gce/gci/configure.sh index 275873fadb8..10dec67ea13 100644 --- a/cluster/gce/gci/configure.sh +++ b/cluster/gce/gci/configure.sh @@ -426,15 +426,9 @@ EOF } function install-mizar-cni-bin { - if [[ "${NETWORK_PROVIDER_VERSION}" == "dev" ]]; then - wget https://github.com/CentaurusInfra/mizar/releases/download/v0.9/mizarcni -O ${KUBE_BIN}/mizarcni - else - wget https://github.com/CentaurusInfra/mizar/releases/download/v${NETWORK_PROVIDER_VERSION}/mizarcni -O ${KUBE_BIN}/mizarcni - fi - chmod +x ${KUBE_BIN}/mizarcni - #BUGBUG: This is a hack around arktos runtime hardcoding of CNI bin dir + # create folder only here + # mizar will be installed via daemonset or other means later mkdir -p /opt/cni/bin - cp -f ${KUBE_BIN}/mizarcni /opt/cni/bin/ } function download-mizar-cni-yaml {