Open Markieta opened 1 year ago
I'd consider this a bug, rather than an enhancement. If the auth plugin doesn't get added, kubectl will break.
Hello 👋
I've created a simple GitHub Action for this, feel free to use this until someone integrates setup-gke-gcloud-auth-plugin
into get-gke-credentials
. I'll try to keep users of simenandre/setup-gke-gcloud-auth-plugin
updated on using gke-gcloud-auth-plugin
with GitHub Actions as we go.
To get started, drop this in your workflow:
- uses: simenandre/setup-gke-gcloud-auth-plugin@v1
Feel free to open issues and PRs here: https://github.com/simenandre/setup-gke-gcloud-auth-plugin
Moving to google-github-actions v2 for all actions I need seem to work now for my use case.
TL;DR
Need an option for using
gke-gcloud-auth-plugin
instead ofgcp auth plugin
or short-lived access tokens.use_auth_provider
fails on modern versions of GKE:Detailed design
No response
Additional information
No response