From 28ad9a629411eccb04f9a9d430310ee4571fb8f9 Mon Sep 17 00:00:00 2001 From: Vivek Reddy Date: Thu, 10 Oct 2024 22:31:19 -0700 Subject: [PATCH] fixed gke cloud auth plugin issue Signed-off-by: Vivek Reddy --- .github/workflows/int-test-gcp-workflow.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/int-test-gcp-workflow.yml b/.github/workflows/int-test-gcp-workflow.yml index d654ed1a8..15844714b 100644 --- a/.github/workflows/int-test-gcp-workflow.yml +++ b/.github/workflows/int-test-gcp-workflow.yml @@ -227,10 +227,11 @@ jobs: run: | gcloud container clusters get-credentials ${{ env.CLUSTER_NAME }} --zone ${{ env.GCP_ZONE }} --project ${{ env.GCP_PROJECT_ID }} - - name: Install gke-gcloud-auth-plugin - run: | - gcloud components update --quiet - gcloud components install gke-gcloud-auth-plugin --quiet + - name: Get GKE Credentials + uses: google-github-actions/get-gke-credentials@v1 + with: + cluster_name: ${{ env.CLUSTER_NAME }} + location: ${{ env.GCP_ZONE }} - name: Install Metrics Server run: |