examples
examples copied to clipboard
warning for gloud auth deprecation gcp-go-gke
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
I'm currently getting the following warning on the gcp-go-gke example
% kubectl get pods
W0722 19:23:45.371511 17328 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
No resources found in default namespace.
The version is currently 1.24.2-gke.300
It stems from using the latest version and gcloud auth
https://github.com/pulumi/examples/blob/c03fc53202cf326b14217cb91d4dc18e01aeb009/gcp-go-gke/main.go#L19
https://github.com/pulumi/examples/blob/c03fc53202cf326b14217cb91d4dc18e01aeb009/gcp-go-gke/main.go#L140-L145
The example is very useful and if it stops working for other users, it might be inconvenient.
Affected area/feature
Thanks for opening this @dixler. We have this tracked on a cross-repo epic.
@viveklak I would like to see that cross-repo epic, can I have a link?