-
Notifications
You must be signed in to change notification settings - Fork 63
Traefik CRD ingress fails during IngressRoute creation #94
Comments
Followup:
|
What I did to solve this situation was:
|
Hi @ruby232, thank you for your input! That's what I tried, but even after I applied all the CRDs first and tried to add the dashboard afterwards, terraform would still insist that the resource did not exist. That's before I suddenly was not able to create the CRDs in the first place, as described in #94 (comment). For my part, I have decided to stick to the nginx ingress for now, until this provider is stable enough. I'll happily answer any maintainer questions and help with testing, if the need arises 😄 |
@Jasper-Ben
|
@ruby232 I stripped it down to the parts only relevant for traefik, you can find it here: terraform.tar.gz How to use:
|
Duplicate of #48. The issue is unrelated to the Traefik CRD but the result of not setting the |
Closing since this is a duplicate of #48. (To work around the issue, make sure that each |
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 and Provider Version
Terraform v0.12.29
provider.kubernetes-alpha v0.1.0
Kubernetes Version
Client: v1.18.5
Server: v1.18.3
Affected Resource(s)
kubernetes_manifest
Terraform Configuration File (snippet)
Complete config can be found here (encrypted for PGP key D5F43B6432EA77F3)
Debug Output
https://gist.github.com/Jasper-Ben/3b9004c5c666eaf39521d5703542b6e0
Expected Behavior
Terraform should create all resources, including
traefik-dashboard
.Actual Behavior
Terraform errors during the creation of the
traefik-dashboard
resource:Error: rpc error: code = Unknown desc = update dry-run for '/traefik-dashboard' failed: the server could not find the requested resource
Everything else seems to work as expected. Manually adding the dashboard as yaml file via kubectl, as described here succeeds and the dashboard is available at localhost:9000/dashboard/#/.
Steps to Reproduce (more info in the complete config)
traefik
, as seen above.terraform apply -target module.traefik.rancher2_namespace.traefik && terraform apply
(due to Resource dependency doesn't work #52)Community Note
The text was updated successfully, but these errors were encountered: