We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
provider "k8s" { kubeconfig_content = "${var.kubeconfigLocation}" }
And that points to my ~/.kube/config
Did I misconfigure something? Thank you!
The text was updated successfully, but these errors were encountered:
@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.
kubeconfig_content
So either load the contents of the file or use the kubeconfig parameter to just provide a file path.
kubeconfig
Sorry, something went wrong.
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: