mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +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:
		@@ -7,7 +7,7 @@ spec:
 | 
				
			|||||||
  version: v1alpha1
 | 
					  version: v1alpha1
 | 
				
			||||||
  scope: Namespaced
 | 
					  scope: Namespaced
 | 
				
			||||||
  names:
 | 
					  names:
 | 
				
			||||||
    name: noxus
 | 
					    plural: noxus
 | 
				
			||||||
    singular: noxu
 | 
					    singular: noxu
 | 
				
			||||||
    kind: Noxu
 | 
					    kind: Noxu
 | 
				
			||||||
    listKind: NoxuList
 | 
					    listKind: NoxuList
 | 
				
			||||||
		Reference in New Issue
	
	Block a user