@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22kind : CustomResourceDefinition
33metadata :
44 annotations :
5- controller-gen.kubebuilder.io/version : v0.4.1
5+ controller-gen.kubebuilder.io/version : v0.10.0
66 creationTimestamp : null
77 name : nicclusterpolicies.mellanox.com
88spec :
4141 spec :
4242 description : NicClusterPolicySpec defines the desired state of NicClusterPolicy
4343 properties :
44+ ibKubernetes :
45+ description : IBKubernetesSpec describes configuration options for
46+ ib-kubernetes
47+ properties :
48+ image :
49+ pattern : ' [a-zA-Z0-9\-]+'
50+ type : string
51+ imagePullSecrets :
52+ items :
53+ type : string
54+ type : array
55+ pKeyGUIDPoolRangeEnd :
56+ description : The last guid in the pool
57+ type : string
58+ pKeyGUIDPoolRangeStart :
59+ description : The first guid in the pool
60+ type : string
61+ periodicUpdateSeconds :
62+ default : 5
63+ description : Interval of updates in seconds
64+ minimum : 0
65+ type : integer
66+ repository :
67+ pattern : ' [a-zA-Z0-9\.\-\/]+'
68+ type : string
69+ ufmSecret :
70+ description : Secret containing credentials to UFM service
71+ type : string
72+ version :
73+ pattern : ' [a-zA-Z0-9\.-]+'
74+ type : string
75+ required :
76+ - image
77+ - repository
78+ - version
79+ type : object
4480 nodeAffinity :
4581 description : Node affinity is a group of node affinity scheduling
4682 rules.
@@ -135,6 +171,7 @@ spec:
135171 type : object
136172 type : array
137173 type : object
174+ x-kubernetes-map-type : atomic
138175 weight :
139176 description : Weight associated with matching the corresponding
140177 nodeSelectorTerm, in the range 1-100.
@@ -230,10 +267,12 @@ spec:
230267 type : object
231268 type : array
232269 type : object
270+ x-kubernetes-map-type : atomic
233271 type : array
234272 required :
235273 - nodeSelectorTerms
236274 type : object
275+ x-kubernetes-map-type : atomic
237276 type : object
238277 nvPeerDriver :
239278 description : NVPeerDriverSpec describes configuration options for
@@ -284,13 +323,14 @@ spec:
284323 type : string
285324 value :
286325 description : ' Variable references $(VAR_NAME) are expanded
287- using the previous defined environment variables in the
288- container and any service environment variables. If a
289- variable cannot be resolved, the reference in the input
290- string will be unchanged. The $(VAR_NAME) syntax can be
291- escaped with a double $$, ie: $$(VAR_NAME). Escaped references
292- will never be expanded, regardless of whether the variable
293- exists or not. Defaults to "".'
326+ using the previously defined environment variables in
327+ the container and any service environment variables. If
328+ a variable cannot be resolved, the reference in the input
329+ string will be unchanged. Double $$ are reduced to a single
330+ $, which allows for escaping the $(VAR_NAME) syntax: i.e.
331+ "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
332+ Escaped references will never be expanded, regardless
333+ of whether the variable exists or not. Defaults to "".'
294334 type : string
295335 valueFrom :
296336 description : Source for the environment variable's value.
@@ -314,6 +354,7 @@ spec:
314354 required :
315355 - key
316356 type : object
357+ x-kubernetes-map-type : atomic
317358 fieldRef :
318359 description : ' Selects a field of the pod: supports metadata.name,
319360 metadata.namespace, `metadata.labels['' <KEY>'' ]`,
@@ -332,6 +373,7 @@ spec:
332373 required :
333374 - fieldPath
334375 type : object
376+ x-kubernetes-map-type : atomic
335377 resourceFieldRef :
336378 description : ' Selects a resource of the container: only
337379 resources limits and requests (limits.cpu, limits.memory,
@@ -356,6 +398,7 @@ spec:
356398 required :
357399 - resource
358400 type : object
401+ x-kubernetes-map-type : atomic
359402 secretKeyRef :
360403 description : Selects a key of a secret in the pod's
361404 namespace
@@ -376,6 +419,7 @@ spec:
376419 required :
377420 - key
378421 type : object
422+ x-kubernetes-map-type : atomic
379423 type : object
380424 required :
381425 - name
@@ -692,5 +736,5 @@ status:
692736 acceptedNames :
693737 kind : " "
694738 plural : " "
695- conditions : []
696- storedVersions : []
739+ conditions : null
740+ storedVersions : null
0 commit comments