You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement API changes according to RFC spec (#1166)
resolves#1088
Summary:
* v1 API now uses a `SourceConfig` discriminated union which will allow
modularity for future install sources (bundles, charts, etc).
* `SourceConfig` uses CEL validation to ensure only valid field names &
values are utilized (`sourceType: Catalog` ensures that the `catalog`
field is also set in `SourceConfig`).
* Added new `clusterextension_admission` unit test for `SourceConfig`
objects. The test covers both valid and invalid cases.
* Fixed `clusterextension_controller` test where an unset
`ClusterExtension` spec caused a null pointer deref.
* Moved `ClusterSelector` from `ClusterExtension.Spec` to `ClusterExtension.Source.Catalog`
and renamed to `Selector`.
* Updated GoDocs to reflect the new API spec and included post-review changes
* Fixed all definitions of `kind: ClusterExtension` in docs and scripts
to reflect the API changes.
Signed-off-by: Josh Manning <19478595+jsm84@users.noreply.github.com>
//+kubebuilder:validation:XValidation:rule="self == oldSelf",message="installNamespace is immutable"
91
+
InstallNamespacestring`json:"installNamespace"`
92
+
93
+
// preflight is an optional field that can be used to configure the preflight checks run before installation or upgrade of the content for the package specified in the packageName field.
94
+
//
95
+
// When specified, it overrides the default configuration of the preflight checks that are required to execute successfully during an install/upgrade operation.
96
+
//
97
+
// When not specified, the default configuration for each preflight check will be used.
//+kubebuilder:validation:XValidation:rule="self == oldSelf",message="installNamespace is immutable"
259
-
InstallNamespacestring`json:"installNamespace"`
260
-
261
-
// preflight is an optional field that can be used to configure the preflight checks run before installation or upgrade of the content for the package specified in the packageName field.
262
-
//
263
-
// When specified, it overrides the default configuration of the preflight checks that are required to execute successfully during an install/upgrade operation.
264
-
//
265
-
// When not specified, the default configuration for each preflight check will be used.
0 commit comments