Skip to content

Commit f7bf7a9

Browse files
author
Per Goncalves da Silva
committed
Update .spec.config api doc to ellucidate validation
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 5b79578 commit f7bf7a9

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

api/v1/clusterextension_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ type ClusterExtensionSpec struct {
101101
// config contains optional configuration values applied during rendering of the
102102
// ClusterExtension's manifests. Values can be specified inline.
103103
//
104+
// config accepts arbitrary JSON/YAML objects. Validation is carried out at runtime against the schema provided
105+
// by the bundle if provided.
106+
//
104107
// config is optional. When not specified, the default configuration of the resolved bundle will be used.
105108
//
106109
// <opcon:experimental>

helm/olmv1/base/operator-controller/crd/experimental/olm.operatorframework.io_clusterextensions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ spec:
6262
config contains optional configuration values applied during rendering of the
6363
ClusterExtension's manifests. Values can be specified inline.
6464
65+
config accepts arbitrary JSON/YAML objects. Validation is carried out at runtime against the schema provided
66+
by the bundle if provided.
67+
6568
config is optional. When not specified, the default configuration of the resolved bundle will be used.
6669
properties:
6770
configType:

manifests/experimental-e2e.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,9 @@ spec:
867867
config contains optional configuration values applied during rendering of the
868868
ClusterExtension's manifests. Values can be specified inline.
869869
870+
config accepts arbitrary JSON/YAML objects. Validation is carried out at runtime against the schema provided
871+
by the bundle if provided.
872+
870873
config is optional. When not specified, the default configuration of the resolved bundle will be used.
871874
properties:
872875
configType:

manifests/experimental.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,9 @@ spec:
832832
config contains optional configuration values applied during rendering of the
833833
ClusterExtension's manifests. Values can be specified inline.
834834
835+
config accepts arbitrary JSON/YAML objects. Validation is carried out at runtime against the schema provided
836+
by the bundle if provided.
837+
835838
config is optional. When not specified, the default configuration of the resolved bundle will be used.
836839
properties:
837840
configType:

0 commit comments

Comments
 (0)