it looks like the k8s provider requires `gke-gclou...
# kubernetes
m
it looks like the k8s provider requires
gke-gcloud-auth-plugin
to be in your
PATH
when working with
gke
.
gcloud
, however installs this binary in a non-standard location as it's generally the only consumer of the plugin. Is there an alternative way to tell the provider where to find the plugin? I'd rather not add the
gcloud
plugins folder to my path or have to prefix pulumi commands with the location. Is this documented anywhere?
f
What if you install the
google-cloud-sdk-gke-gcloud-auth-plugin
package using your package manager instead? In our case, we create a
pulumi
docker image with all the binaries required to run
pulumi
commands, so we end up doing:
Copy code
RUN apt-get install -y google-cloud-sdk-gke-gcloud-auth-plugin
And that's all we usually need. We don't add it to our
PATH
.
I'm sure there is a way to do what you are asking, though. In our
kubeconfig
file (which we supply to our provider), there is a
command:
directive:
m
got ya. helpful. ty!