kubernetic
kubernetic copied to clipboard
getting credentials: exec: executable gke-gcloud-auth-plugin not found
The plugin is already installed inside google-cloud-sdk/bin directory and kubectl commands work properly from command line
On my mac, I had to modify the correct user.exec in my ~/.kube/config to change the command from gke-gcloud-auth-plugin to this:
command: /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/gke-gcloud-auth-plugin
provideClusterInfo: true # This needs to be added as well.
The path could be different. Source: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuration