From ef93f50907e9bc2d6b84ddf15e689b8b632f8814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=85=E7=B1=B3=20=E6=8B=93=E9=A6=AC?= Date: Thu, 30 Mar 2023 09:47:16 +0900 Subject: [PATCH] fix: helm init was deprecated in v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 久米 拓馬 --- hack/test-local.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hack/test-local.sh b/hack/test-local.sh index e242b829..d7e585a1 100755 --- a/hack/test-local.sh +++ b/hack/test-local.sh @@ -9,15 +9,6 @@ minikube start echo "Create the missing rolebinding for k8s dashboard" kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default -echo "Init the helm tiller" -kubectl -n kube-system create sa tiller -kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller -helm init --service-account tiller - -printf "Waiting for tiller deployment to complete." -until [ $(kubectl get deployment -n kube-system tiller-deploy -ojsonpath="{.status.conditions[?(@.type=='Available')].status}") == "True" ] > /dev/null 2>&1; do sleep 1; printf "."; done -echo - eval $(minikube docker-env) echo "Install the redis-cluster operator"