Skip to content

Commit 8818a44

Browse files
committed
Improve ClusterServiceVersion schema
Fixes #167 Add descriptions for kind, name, and version properties of APIResourceReference schema.
1 parent 37561c9 commit 8818a44

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: crds/operators.coreos.com_clusterserviceversions.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,13 @@ spec:
127127
- version
128128
properties:
129129
kind:
130+
description: Kind of the referent
130131
type: string
131132
name:
133+
description: Name of the CustomResourceDefinition for the referent, or an empty string when the referent is not a custom resource
132134
type: string
133135
version:
136+
description: The API version of the referent
134137
type: string
135138
specDescriptors:
136139
type: array
@@ -237,10 +240,13 @@ spec:
237240
- version
238241
properties:
239242
kind:
243+
description: Kind of the referent
240244
type: string
241245
name:
246+
description: Name of the CustomResourceDefinition for the referent, or an empty string when the referent is not a custom resource
242247
type: string
243248
version:
249+
description: The API version of the referent
244250
type: string
245251
specDescriptors:
246252
type: array
@@ -349,12 +355,16 @@ spec:
349355
- kind
350356
- name
351357
- version
358+
properties:
352359
properties:
353360
kind:
361+
description: Kind of the referent
354362
type: string
355363
name:
364+
description: Name of the CustomResourceDefinition for the referent, or an empty string when the referent is not a custom resource
356365
type: string
357366
version:
367+
description: API version of the referent
358368
type: string
359369
specDescriptors:
360370
type: array
@@ -453,10 +463,13 @@ spec:
453463
- version
454464
properties:
455465
kind:
466+
description: Kind of the referent
456467
type: string
457468
name:
469+
description: Name of the CustomResourceDefinition for the referent, or an empty string when the referent is not a custom resource
458470
type: string
459471
version:
472+
description: The API version of the referent
460473
type: string
461474
specDescriptors:
462475
type: array

0 commit comments

Comments
 (0)