From eef12f61111162369dd6fa41bc802c090f99ad18 Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Mon, 20 Jun 2022 11:19:11 +0200 Subject: [PATCH] add a new gcloud auth plugin recommended by doc for kubernetes 1.25 --- local_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local_setup.sh b/local_setup.sh index 23d9c97..55e3cc2 100755 --- a/local_setup.sh +++ b/local_setup.sh @@ -20,7 +20,7 @@ ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # install all the required tools for managing the cluster -sudo apt install -y google-cloud-sdk kubectl docker +sudo apt install -y google-cloud-sdk kubectl docker google-cloud-sdk-gke-gcloud-auth-plugin # configure gCloud source "${ROOT_DIR}/k8s_config" @@ -29,4 +29,4 @@ gcloud config set project ${GCP_PROJECT} gcloud config set compute/zone ${GCP_ZONE} # setup docker for pushing containers gcloud auth configure-docker -gcloud container clusters get-credentials $GCP_CLUSTER \ No newline at end of file +gcloud container clusters get-credentials $GCP_CLUSTER