1+ ---
12apiVersion : apiextensions.k8s.io/v1
23kind : CustomResourceDefinition
34metadata :
3233 schema :
3334 openAPIV3Schema :
3435 description : |-
35- A CompositeResourceDefinition defines a new kind of composite infrastructure
36- resource. The new resource is composed of other composite or managed
37- infrastructure resources.
36+ A CompositeResourceDefinition defines the schema for a new custom Kubernetes
37+ API.
38+
39+
40+ Read the Crossplane documentation for
41+ [more information about CustomResourceDefinitions](https://docs.crossplane.io/latest/concepts/composite-resource-definitions).
3842 properties :
3943 apiVersion :
4044 description : |-
7680 items :
7781 type : string
7882 type : array
83+ x-kubernetes-list-type : atomic
7984 kind :
8085 description : |-
8186 kind is the serialized kind of the resource. It is normally CamelCase and singular.
@@ -100,6 +105,7 @@ spec:
100105 items :
101106 type : string
102107 type : array
108+ x-kubernetes-list-type : atomic
103109 singular :
104110 description : singular is the singular name of the resource. It
105111 must be all lowercase. Defaults to lowercased `kind`.
@@ -108,6 +114,9 @@ spec:
108114 - kind
109115 - plural
110116 type : object
117+ x-kubernetes-validations :
118+ - message : Value is immutable
119+ rule : self == oldSelf
111120 connectionSecretKeys :
112121 description : |-
113122 ConnectionSecretKeys is the list of keys that will be exposed to the end
@@ -219,6 +228,7 @@ spec:
219228 items :
220229 type : string
221230 type : array
231+ x-kubernetes-list-type : atomic
222232 required :
223233 - conversionReviewVersions
224234 type : object
@@ -265,12 +275,18 @@ spec:
265275 required :
266276 - name
267277 type : object
278+ x-kubernetes-validations :
279+ - message : Value is immutable
280+ rule : self == oldSelf
268281 group :
269282 description : |-
270283 Group specifies the API group of the defined composite resource.
271284 Composite resources are served under `/apis/<group>/...`. Must match the
272285 name of the XRD (in the form `<names.plural>.<group>`).
273286 type : string
287+ x-kubernetes-validations :
288+ - message : Value is immutable
289+ rule : self == oldSelf
274290 metadata :
275291 description : Metadata specifies the desired metadata for the defined
276292 composite resource and claim CRD's.
@@ -309,6 +325,7 @@ spec:
309325 items :
310326 type : string
311327 type : array
328+ x-kubernetes-list-type : atomic
312329 kind :
313330 description : |-
314331 kind is the serialized kind of the resource. It is normally CamelCase and singular.
@@ -333,6 +350,7 @@ spec:
333350 items :
334351 type : string
335352 type : array
353+ x-kubernetes-list-type : atomic
336354 singular :
337355 description : singular is the singular name of the resource. It
338356 must be all lowercase. Defaults to lowercased `kind`.
@@ -341,6 +359,9 @@ spec:
341359 - kind
342360 - plural
343361 type : object
362+ x-kubernetes-validations :
363+ - message : Value is immutable
364+ rule : self == oldSelf
344365 versions :
345366 description : |-
346367 Versions is the list of all API versions of the defined composite
@@ -480,6 +501,13 @@ spec:
480501 A Message containing details about this condition's last transition from
481502 one status to another, if any.
482503 type : string
504+ observedGeneration :
505+ description : |-
506+ ObservedGeneration represents the .metadata.generation that the condition was set based upon.
507+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
508+ with respect to the current state of the instance.
509+ format : int64
510+ type : integer
483511 reason :
484512 description : A Reason for this condition's last transition from
485513 one status to another.
0 commit comments