singular annotation does not get apply to the crd
I wanted to get a specific single and plural name not base on the kind of the CRD. According to the documentation can be done using the +kubebuilder:resource:singular.
Reproduce the issue
// +kubebuilder:resource:singular=my-singular,path=my-plural,scope=namespaced
Expected CRD result
group: group.com
names:
kind: MyKindType
listKind: MyKindTypeList
plural: my-plural
singular: my-singular
scope: namespaced
Actual CRD result
group: group.com
names:
kind: MyKindType
listKind: MyKindTypeList
plural: my-plural
singular: mykindtype
scope: namespaced
This is because on the ApplyToCRD function, Singular filed is not use.
I saw some comments about singular but I couldn't understand if it is intentional ignore or it was just forgot. Thanks!
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
/remove-lifecycle rotten
/assign