Skip to content

Commit

Permalink
fix: helm init was deprecated in v3
Browse files Browse the repository at this point in the history
Signed-off-by: 久米 拓馬 <takuma.kume@pepabo.com>
  • Loading branch information
takumakume committed Mar 30, 2023
1 parent 4aa660d commit ef93f50
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions hack/test-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit ef93f50

Please sign in to comment.