-
Notifications
You must be signed in to change notification settings - Fork 30
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
"no matches for kind "ClusterIssuer" in group "cert-manager.io"" With terraform plan #3
Comments
Hello @everspader , are you trying to add ClusterIssuer outside of the module ? kubernetes_manifest doesn't support to run plan & apply, when helm_release is not deployed yet. You can use kubectl_manifest instead. |
@bohdantverdyi sorry to dig out this one; having the same problem. Not trying to create the cluster issuer from outside, just using :
But getting the following : Am on GKE 1.21.9 |
@benbonnet looks like cert-manager wan't installed correctly. Can you try to re apply , and check if cert-manager is running in you GKE |
thx for your super quick response! First applied got timed out ( Re-applied, things ended well. Everything is ok |
Have you configured kubectl provider? |
it couldn’t connect to kube api. Problem on your side or in providers configuration ( helm, kubernetes, kubectl ) |
It happened on the very first apply (first it creates the cluster, node pool, etc..., then
Anyhow, next applies are super smooth and everything going super fine |
do you have helm & kubectl providers settings ? |
yup, just above kubernetes (updated above) |
i don't see provider "kubectl" |
anyway, next apply smooth. I think problem was with not ready nodes. Becuase kubectl cluster-issuer will not deploy if cert-manager pods it's not ready |
ok my bad; confused about kubectl/kubernetes provider |
Hi, I am getting the following error when creating the
helm_release
for thecert-manager
with theClusterIssuer
in the sameterraform apply
because theplan
fails.I did a bit of Googling around and it seems that it's because in the plan state, the CRDs are not yet installed so the error happens.
Is this a known issue and is there a way to circumvent it?
The text was updated successfully, but these errors were encountered: