-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Enhancement]: Replace x-kubernetes-preserve-unknown-fields in CRD for Kubernetes Resources object. #9851
Comments
I think you have to be more specific about what is missing. As far as I know, we did all we could, and even that caused a lot of users some problems. So not sure what more are you asking for.
The source codes are in this repository. Unsurprisingly, the CRD generator is in the |
I've not tested the new CRDs with terraform yet but we are using the kubectl provider https://github.com/gavinbunney/terraform-provider-kubectl with |
Should be fixed in #9857 |
I'm using official terraform kubernetes provider - https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/manifest. I checked CRD's from 0.40.0 and their still have |
I think doing it for the quantities is fine. But it is important to keep in mind that |
Yes, but resources and limits are changing very often, #9857 also adding validation for values. The fabric8 lib that is using is in this project for crds, reflects correct type of the resources, but crd-generator make it as |
Yeah, as I said, I think this change is fine. |
Going to remove the "needs-triage" label because of the agreement and the PR already under review. |
@ppatierno Maybe you should review the PR instead and maybe we can close this :-) |
@scholzj I haven't closed the issue. Of course it will be closed when PR is merged. I just removed the needs-triage label because I don't think it needs triage anymore taking into account there is a PR for it and we were in agreement here that it would have been good to have. |
Related problem
There is still an issue when provision "Kafka" resource with Terraform Kubernetes Provider. There is not possible change resources without re-creation of the resource which leads Operator to delete and create cluster. Could you please to add it, or point me the desired design for CRD generator code and i will implement it by myself.
Suggested solution
#9508 but for kubernetes resources as well in 0.40.0, it was partially implemented in #9292 but it was closed.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: