-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Provider always crash #88
Comments
Hello,
|
Hello, provider.tf required_providers { provider "azurerm" { provider "cilium" { cilium.tf ] Thank you! |
The buggy code is the function GetCurrentRelease during read of terraform. It's a test to check helm release of cilium. If there is no cilium release. It means someone uninstall cilium with helm cli or cilium cli for example. This code is to reconcile terraform with real state. |
Thanks for the feedback. |
@solivansantana sorry I'm in Kubecon this week. I don't have time for this issue. |
There is the same error for another provider: https://discuss.qovery.com/t/terraform-provider-cluster-creation-or-update-fails/1220 |
@solivansantana Could you retry with 0.1.9 version? Thank you. |
Thanks for the feedback. provider.tf required_providers { provider "azurerm" { provider "cilium" { |
Ok cool.
There are three ways to define the kubeconfig:
|
Thanks for the feedback. main.tf provider.tf required_providers { provider "azurerm" { provider "cilium" { Then in the provider I use the kubeconfig file in the config_path. That's why I'm wondering if there were changes, since I didn't change the authentication method. |
I didn't change anything about authentication method on the recent version (0.1.X). |
@solivansantana In which context do you use this provider? Dev? Production? How do you know the existence of the provider? |
@littlejo I'm trying to use it in a production environment. I discovered this provider through research on Terraform providers. https://registry.terraform.io/search/providers?q=cilium |
Ok cool, the cilium provider mainly uses the cilium-cli libraries: https://github.com/cilium/cilium-cli |
@littlejo I did a test by creating a new AKS cluster to validate that there was no authentication problem and found the same crash problem on provider 0.1.9. Image below: provider.tf required_providers { provider "azurerm" { provider "cilium" { cilium.tf ] |
@solivansantana Ok thank you. This PR: #94 should fix the problem. I'm releasing a new version today. |
@solivansantana Could you retry with 0.1.10 version ? Thank you. |
@littlejo thanks for the feedback. |
@solivansantana It's because kubeconfig file doesn't exist at the beginning of apply:
Use this for the dependance:
|
@littlejo thank you for your help. |
Hello,
Often when using the Cilium provider, an error appears stating that the plugin has failed.
I've been using it since version 0.1.6 and the same behavior is evident.
When updating to version 0.1.7 I temporarily no longer had any problems, but about 3 days ago the same error occurred again. I then updated to the new release (0.1.8) and the error remains.
I would like to use the provider in an "online" way so that I don't always need to update the project files (provider offline).
The screenshot of the error follows the link: Image
Thank you!
The text was updated successfully, but these errors were encountered: