![]() Automatic merge from submit-queue Add cmd support to gcp auth provider plugin **What this PR does / why we need it**: Adds ability for gcp auth provider plugin to get access token by shelling out to an external command. We need this because for GKE, kubectl should be using gcloud credentials. It currently uses google application default credentials, which causes confusion if user has configured both with different permissions (previously the two were almost always identical). **Which issue this PR fixes**: Addresses #35530 with gcp-only solution, as generic cmd plugin was deemed not useful for other providers. **Special notes for your reviewer**: Configuration options are to support whatever future command gcloud provides for printing access token of active user. Also works with existing command (`gcloud auth print-access-token`) ```release-note ``` |
||
---|---|---|
.. | ||
cmd/kube-scheduler | ||
pkg | ||
OWNERS |