You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're planning to fix this in #1278 by regenerating the entire CRD on operator-sdk generate openapi so that we entirely rely on the +kubebuilder:... tags and not try to preserve manual edits.
Bug Report
What did you do?
deploy/crds/my_crd.yaml
to addshortNames: ["blah"]
.What did you expect to see?
The validation section should be filled in without removing my shortNames.
What did you see instead? Under which circumstances?
The generator removed my shortNames.
Environment
Additional context
I also tried the
+kubebuilder
annotation for setting shortNames, but it was ignored:The text was updated successfully, but these errors were encountered: