Skip to content

Commit e1ea1dd

Browse files
authored
Update refresh_kubeconfig.sh
1 parent 50ea332 commit e1ea1dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.tools/refresh_kubeconfig.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export KUBECONFIG="$KUBECONFIGS_PATH/config"
1818
if [ $docker_update = true ]
1919
then
2020
echo "Updating kubectl..."
21-
curl -L "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl" -o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl
21+
sudo curl -L "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl" -o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl
2222
fi
2323

2424
echo "Updating kubeconfigs in $KUBECONFIGS_PATH..."

0 commit comments

Comments
 (0)