From c77d3c4fa16039a9b11156a252ed15b70f120168 Mon Sep 17 00:00:00 2001 From: shane knapp Date: Thu, 22 Aug 2024 16:19:02 -0700 Subject: [PATCH] kubectl auth --- .github/workflows/deploy-jupyterhub-base-images.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy-jupyterhub-base-images.yaml b/.github/workflows/deploy-jupyterhub-base-images.yaml index ca00521a0..4e2c74e29 100644 --- a/.github/workflows/deploy-jupyterhub-base-images.yaml +++ b/.github/workflows/deploy-jupyterhub-base-images.yaml @@ -56,6 +56,13 @@ jobs: with: install_components: 'gke-gcloud-auth-plugin,kubectl' + - name: Get GKE credentials for the cluster + uses: 'google-github-actions/get-gke-credentials@v2' + with: + cluster_name: ${{ secrets.GKE_CLUSTER_NAME }} + location: ${{ secrets.GKE_CLUSTER_LOCATION }} + + - name: Install SOPS if: ${{ env.DEPLOY }} run: |