-
Notifications
You must be signed in to change notification settings - Fork 214
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
Add x-kubernetes-preserve-unknown-field to a CRD #458
Comments
Not at this point. One thing to note, though, |
This feature have been actually implemented in the fabric8io/kubernetes-client#3684 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue is fixed since everything got merged in |
Thanks for confirming, @andreaTP! |
I have a CRD where I need to include some unspecified fields, and I come up with something like:
However, as the generated CRD yaml, does not specify
x-kubernetes-preserve-unknown-field
, all unspecified fields are pruned so i.e. when I'm doginkubectl get myresource
, the only field that it is shown isfoo
.Is there a way to declare that
x-kubernetes-preserve-unknown-field
should be set ?The text was updated successfully, but these errors were encountered: