@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.14.0
6+ controller-gen.kubebuilder.io/version : v0.16.4
77 name : nicclusterpolicies.mellanox.com
88spec :
99 group : mellanox.com
@@ -323,11 +323,13 @@ spec:
323323 items :
324324 type : string
325325 type : array
326+ x-kubernetes-list-type : atomic
326327 required :
327328 - key
328329 - operator
329330 type : object
330331 type : array
332+ x-kubernetes-list-type : atomic
331333 matchFields :
332334 description : A list of node selector requirements by
333335 node's fields.
@@ -355,11 +357,13 @@ spec:
355357 items :
356358 type : string
357359 type : array
360+ x-kubernetes-list-type : atomic
358361 required :
359362 - key
360363 - operator
361364 type : object
362365 type : array
366+ x-kubernetes-list-type : atomic
363367 type : object
364368 x-kubernetes-map-type : atomic
365369 weight :
@@ -372,6 +376,7 @@ spec:
372376 - weight
373377 type : object
374378 type : array
379+ x-kubernetes-list-type : atomic
375380 requiredDuringSchedulingIgnoredDuringExecution :
376381 description : |-
377382 If the affinity requirements specified by this field are not met at
@@ -416,11 +421,13 @@ spec:
416421 items :
417422 type : string
418423 type : array
424+ x-kubernetes-list-type : atomic
419425 required :
420426 - key
421427 - operator
422428 type : object
423429 type : array
430+ x-kubernetes-list-type : atomic
424431 matchFields :
425432 description : A list of node selector requirements by
426433 node's fields.
@@ -448,14 +455,17 @@ spec:
448455 items :
449456 type : string
450457 type : array
458+ x-kubernetes-list-type : atomic
451459 required :
452460 - key
453461 - operator
454462 type : object
455463 type : array
464+ x-kubernetes-list-type : atomic
456465 type : object
457466 x-kubernetes-map-type : atomic
458467 type : array
468+ x-kubernetes-list-type : atomic
459469 required :
460470 - nodeSelectorTerms
461471 type : object
@@ -615,10 +625,13 @@ spec:
615625 description : The key to select.
616626 type : string
617627 name :
628+ default : " "
618629 description : |-
619630 Name of the referent.
631+ This field is effectively required, but due to backwards compatibility is
632+ allowed to be empty. Instances of this type with an empty value here are
633+ almost certainly wrong.
620634 More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
621- TODO: Add other useful fields. apiVersion, kind, uid?
622635 type : string
623636 optional :
624637 description : Specify whether the ConfigMap or its
@@ -678,10 +691,13 @@ spec:
678691 be a valid secret key.
679692 type : string
680693 name :
694+ default : " "
681695 description : |-
682696 Name of the referent.
697+ This field is effectively required, but due to backwards compatibility is
698+ allowed to be empty. Instances of this type with an empty value here are
699+ almost certainly wrong.
683700 More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
684- TODO: Add other useful fields. apiVersion, kind, uid?
685701 type : string
686702 optional :
687703 description : Specify whether the Secret or its key
0 commit comments