Open Edens-Angel opened 11 months ago
I took a small deep dive in the code of the manifest but I am not very familiar with go so I have a limited understanding of it. I have to mention that the ClusterSecretStore kind is a kind with not namespace attached to it. It is accessible from everywhere. I am not sure how kubernetes handles this but could this be the problem of the error?
I just faced this issue too. It creates the resource but then says it can't find it. This didn't used to happen.
Seems to be the same problem as #270
Can confirm this is a legit issue. This was not happening in older versions.
Can you try the fork
terraform {
required_version = ">= 0.13"
required_providers {
kubectl = {
source = "alekc/kubectl"
version = ">= 2.0.2"
}
}
That issue should be fixed there
Thanks
@alekc thanks. I was ready to cry, but your fork spared my dignity :-D
I am trying to create components of the external-secrets.io/v1beta1 api. The resource get's created with success but after this, it returns an error which says
Error: gcp-backend failed to fetch resource from kubernetes: the server could not find the requested resource
This error happens with everything from this resource. I am assuming it has something to do with the v1beta1 but I don't know why that would be an issue. This api resource does not yet has a released v1 api. I am running Terraform version 1.5.6
This is my required providers settings
This is my terraform code
The Api resources in my cluster include the following
Again, the resource gets created and everything works fine but my terraform code returns an error and does not save the resource in the state, resulting that it tries to recreate it with every run.