kubectl-modify-secret icon indicating copy to clipboard operation
kubectl-modify-secret copied to clipboard

Does not work for GKE 1.25+

Open cuttingedge1109 opened this issue 1 year ago • 4 comments

W0329 09:19:29.168946  269330 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
Error: only one argument is allowed

cuttingedge1109 avatar Mar 29 '23 09:03 cuttingedge1109

Thank you for the report. I will check this out. In the meantime if you could submit a PR, it would be awesome, thanks

rajatjindal avatar Mar 29 '23 09:03 rajatjindal

do you mind sharing your kubeconfig file (WITHOUT the secrets/tokens). This seems like an error coming from auth plugin itself.

rajatjindal avatar Mar 30 '23 05:03 rajatjindal

could you please share the exact command that you are using to run.

rajatjindal avatar Jan 15 '24 07:01 rajatjindal

Hey, a GKE 1.28.5 user here. I am not having this problem with the current version of the plugin (v0.0.46).

gdubicki avatar Jan 24 '24 11:01 gdubicki