Skip to content

Commit d18bbba

Browse files
fix: install auth plugin on gke environment tests (#1232)
* install auth plugin on gke environment tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 50fd0dc commit d18bbba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎.kokoro/environment_tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ if [[ "${ENVIRONMENT}" == "kubernetes" ]]; then
6363
mkdir -p ~/.local/bin
6464
mv ./kubectl ~/.local/bin
6565
export PATH=$PATH:~/.local/bin
66+
# install auth plugin
67+
gcloud components install gke-gcloud-auth-plugin -q
68+
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
6669
fi
6770

6871
# create a unique id for this run

0 commit comments

Comments
 (0)