-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Bug Report
What did you do?
- operator-sdk add api ...
- Edit
deploy/crds/my_crd.yaml
to addshortNames: ["blah"]
. - operator-sdk generate openapi
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
- operator-sdk version: v0.7.0
- go version: 1.12.2
Additional context
I also tried the +kubebuilder
annotation for setting shortNames, but it was ignored:
// +kubebuilder:resource:path=services,shortName=to;ty
srueg
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.