-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
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
home/.kube/config: no such file or directory #402
Comments
Thanks @eeeschwartz I spent some more time on troubleshooting this. Removing all sets solved the problem so it seemed like it's not an authentication issue. Step-by-step adding all sets back pointed to the annotations i've tried to set to configure the LB as an Internal Load Balancer. This issue helped me to fix it: #125 |
Just to put this out there. You need to disable loading the config file provider "helm" {
kubernetes {
load_config_file = false
...
} Gotta admit, its a bit of a weird behavior because if credentials are provided, it shouldn't look at the config file. But the above is working for me |
Same issue even with
|
@h4wkmoon do you have your kubeconfig in the Also, make sure this variable Have a look here That's the steps I would take, I hope that helped in some way. |
My bad, I had set an alias for the helm provider, and did not set it in every helm releases in my project. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Terraform Version
0.12.20
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Terraform should use Helm to deploy the nginx-ingress Chart to my Azure Kubernetes Service Cluster.
Actual Behavior
Steps to Reproduce
terraform validate
andterraform plan
finish successfuly. Only theterraform apply
steps fails with the error message i pasted above.Important Factoids
References
The text was updated successfully, but these errors were encountered: