mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #45793 from nikhita/add-plural-name
Automatic merge from submit-queue Add plural name for CustomResources example **What this PR does / why we need it**: Adds plural name for CustomResources example. There is no field called `name` for CustomResources. Instead it is `plural`. This will also fail validation (https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kube-apiextensions-server/pkg/apis/apiextensions/validation/validation.go#L33) while executing the instructions mentioned here: https://github.com/kubernetes/kubernetes/issues/45510. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: **Special notes for your reviewer**: **Release note**: ``` NONE ``` @sttts
This commit is contained in:
commit
3227f44157
@ -7,7 +7,7 @@ spec:
|
||||
version: v1alpha1
|
||||
scope: Namespaced
|
||||
names:
|
||||
name: noxus
|
||||
plural: noxus
|
||||
singular: noxu
|
||||
kind: Noxu
|
||||
listKind: NoxuList
|
Loading…
Reference in New Issue
Block a user