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
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.
Signed-off-by: Josh Manning <[email protected]>
//+kubebuilder:validation:XValidation:rule="self == oldSelf",message="installNamespace is immutable"
79
+
InstallNamespacestring`json:"installNamespace"`
80
+
81
+
// 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.
82
+
//
83
+
// When specified, it overrides the default configuration of the preflight checks that are required to execute successfully during an install/upgrade operation.
84
+
//
85
+
// 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