You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My provider appears to have started exclusively using the local config regardless of provider configuration. This only just started and I have been using this for several months.
The active cluster is used if not specified, but if I explicitly set the config profile param, the provider will use that.
I have removed the installed provider, reinstalled, removed and reinitialized my .terraform file and restarted my machine and the issue still persists.
2022-11-21T15:31:43.425-0500 [DEBUG] provider.terraform-provider-random_v3.4.3_x5: Called provider defined Provider GetDataSources: tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=0d6f8408-ebdd-997e-0ebc-8e27d6c67940 tf_rpc=GetProviderSchema @caller=github.com/hashicorp/[email protected]/internal/fwserver/server.go:195 @module=sdk.framework timestamp=2022-11-21T15:31:43.425-0500
2022-11-21T15:31:43.425-0500 [DEBUG] provider.terraform-provider-kubectl_v1.14.0:
2022/11/21 15:31:43 [DEBUG] Using kubeconfig: /Users/andrewgallin/.kube/config
2022-11-21T15:31:43.425-0500 [DEBUG] provider.terraform-provider-kubectl_v1.14.0:
2022/11/21 15:31:43 [WARN] Invalid provider configuration was supplied. Provider operations likely to fail: stat /Users/andrewgallin/.kube/config: no such file or directory
Then I auth to the cluster with a gcloud container clusters get-credentials CLUSTER --zone=us-central1
2022-11-21T15:35:36.123-0500 [DEBUG] provider.terraform-provider-kubectl_v1.14.0:
2022/11/21 15:35:36 [DEBUG] Using kubeconfig: /Users/andrewgallin/.kube/config
Any idea what may be going on? The provider.go file seems to indicate that as long as it is set to false it would skip the config path.
I think using the local config by default should be turned off and people should opt in regardless. Not sure that would help this bug as it is ignoring that "false" param, but maybe it would.
The text was updated successfully, but these errors were encountered:
Having similar issues trying to configure MetalLB resources using this provider. I was eventually able to get this to work after reading this and downgrading from the latest version to 1.11.0. I tried all of the 1.11.x version in reverse order and this was the first version that worked. I had also tried 1.10.0 as per the comment above which worked.
Getting the same error that the local config file does not exist and a failure to talk to the k8s cluster.
My provider appears to have started exclusively using the local config regardless of provider configuration. This only just started and I have been using this for several months.
The active cluster is used if not specified, but if I explicitly set the config profile param, the provider will use that.
I have removed the installed provider, reinstalled, removed and reinitialized my .terraform file and restarted my machine and the issue still persists.
This is the way my provider is invoked
Here are some debug logs:
Any idea what may be going on? The provider.go file seems to indicate that as long as it is set to false it would skip the config path.
I think using the local config by default should be turned off and people should opt in regardless. Not sure that would help this bug as it is ignoring that "false" param, but maybe it would.
The text was updated successfully, but these errors were encountered: