Set USE_GKE_GCLOUD_AUTH_PLUGIN for GKE deploy workflow
Modern gcloud CLI (>= 400) requires this env var so kubectl uses the installed gke-gcloud-auth-plugin binary instead of the deprecated application-default credentials path. Without it, kubectl commands silently fail even after get-credentials succeeds.
This commit is contained in:
@@ -22,6 +22,9 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
USE_GKE_GCLOUD_AUTH_PLUGIN: "True"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user