Open mornindew opened 5 years ago
@mornindew I'm terribly sorry for missing your issue. I hope you were able to resolve it.
If not:
kubeconfig_content
awaity the contents of your kube config.
So either load the contents of the file or use the kubeconfig
parameter to just provide a file path.
Thank you very much for supporting this as it is very useful for my needs. I really appreciate it.
I am having an issue running the provider though. I recently migraged from the ericchiang version over to yours but now when I run any commands I get:
* k8s_manifest.cluster-issuer: /home/craig/Applications/google-cloud-sdk/bin/kubectl kubectl --kubeconfig /tmp/kubeconfig_238694190 apply -f - exit status 1: error: Error loading config file "/tmp/kubeconfig_238694190": couldn't get version/kind; json parse error: json: cannot unmarshal string into Go value of type struct { APIVersion string "json:\"apiVersion,omitempty\""; Kind string "json:\"kind,omitempty\"" }
Not sure why it is looking for the kubeconfig in /tmp
I have specified my kubeconfig_content:
And that points to my ~/.kube/config
Did I misconfigure something? Thank you!