Skip to content

Commit

Permalink
[CI,GKE] Use gke-gcloud-auth-plugin for kubectl auth (#5449)
Browse files Browse the repository at this point in the history
* Using the new GKE GCloud auth plugin

Signed-off-by: Rafa Castelblanque <rcastelblanq@vmware.com>

* Debug branch on GKE

Signed-off-by: Rafa Castelblanque <rcastelblanq@vmware.com>

* Switch back to prerelease branch

Signed-off-by: Rafa Castelblanque <rcastelblanq@vmware.com>

Signed-off-by: Rafa Castelblanque <rcastelblanq@vmware.com>
  • Loading branch information
castelblanque committed Oct 10, 2022
1 parent 3ac3814 commit c4d25a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ gke_test: &gke_test
if [ -a $GOOGLE_APPLICATION_CREDENTIALS ]; then
gcloud -q auth activate-service-account --key-file $GOOGLE_APPLICATION_CREDENTIALS;
fi
gcloud components install gke-gcloud-auth-plugin
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
- <<: *install_kubectl
# A GKE cluster name cannot contain non-alphanumeric characters (nor uppercase letters)
- run:
Expand Down

0 comments on commit c4d25a4

Please sign in to comment.