# API Reference ## Packages - [olm.operatorframework.io/v1](#olmoperatorframeworkiov1) ## olm.operatorframework.io/v1 Package v1 contains API Schema definitions for the olm v1 API group ### Resource Types - [ClusterCatalog](#clustercatalog) - [ClusterCatalogList](#clustercataloglist) - [ClusterExtension](#clusterextension) - [ClusterExtensionList](#clusterextensionlist) - [ClusterObjectDeployment](#clusterobjectdeployment) - [ClusterObjectDeploymentList](#clusterobjectdeploymentlist) #### Assertion Assertion is a discriminated union which defines the probe type and definition used as an assertion. _Appears in:_ - [ProgressionProbe](#progressionprobe) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `type` _[ProbeType](#probetype)_ | type is a required field which specifies the type of probe to use.
The allowed probe types are "ConditionEqual", "FieldsEqual", and "FieldValue".
When set to "ConditionEqual", the probe checks objects that have reached a condition of specified type and status.
When set to "FieldsEqual", the probe checks that the values found at two provided field paths are matching.
When set to "FieldValue", the probe checks that the value found at the provided field path matches what was specified.
**Experimental channel:** | | Enum: [ConditionEqual FieldsEqual FieldValue]
Required: \{\}
| | `conditionEqual` _[ConditionEqualProbe](#conditionequalprobe)_ | conditionEqual contains the expected condition type and status.
**Experimental channel:** | | Optional: \{\}
| | `fieldsEqual` _[FieldsEqualProbe](#fieldsequalprobe)_ | fieldsEqual contains the two field paths whose values are expected to match.
**Experimental channel:** | | Optional: \{\}
| | `fieldValue` _[FieldValueProbe](#fieldvalueprobe)_ | fieldValue contains the expected field path and value found within.
**Experimental channel:** | | Optional: \{\}
| #### AvailabilityMode _Underlying type:_ _string_ AvailabilityMode defines the availability of the catalog _Appears in:_ - [ClusterCatalogSpec](#clustercatalogspec) | Field | Description | | --- | --- | | `Available` | | | `Unavailable` | | #### BundleMetadata BundleMetadata is a representation of the identifying attributes of a bundle. _Appears in:_ - [ClusterExtensionInstallStatus](#clusterextensioninstallstatus) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `name` _string_ | name is required and follows the DNS subdomain standard as defined in [RFC 1123].
It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
start and end with an alphanumeric character, and be no longer than 253 characters. | | Required: \{\}
| | `version` _string_ | version is required and references the version that this bundle represents.
It follows the semantic versioning standard as defined in https://semver.org/. | | Required: \{\}
| | `release` _string_ | release is an optional field that identifies a specific release of this bundle's version.
A release represents a re-publication of the same version, typically used to deliver
packaging or metadata changes without changing the version number. When multiple
releases exist for the same version, higher releases are preferred. An unset release
is less preferred than all other release values.
The value consists of dot-separated identifiers, where each identifier is either a
numeric value (without leading zeros) or an alphanumeric string (e.g., "2", "1.el9",
"3.alpha.1"). Releases are compared identifier by identifier: numeric identifiers are
compared as integers, alphanumeric identifiers are compared lexically, and numeric
identifiers always sort before alphanumeric identifiers.
For bundles with explicit pkg.Release metadata, this field contains that release value.
For registry+v1 bundles lacking an explicit release value, this field contains the release
extracted from version's build metadata (e.g., '2' from '1.0.0+2').
This field is omitted when the bundle's release value is unset.
**Experimental channel:** | | MaxLength: 20
Optional: \{\}
| #### CRDUpgradeSafetyEnforcement _Underlying type:_ _string_ _Appears in:_ - [CRDUpgradeSafetyPreflightConfig](#crdupgradesafetypreflightconfig) | Field | Description | | --- | --- | | `None` | None will not perform CRD upgrade safety checks.
| | `Strict` | Strict will enforce the CRD upgrade safety check and block the upgrade if the CRD would not pass the check.
| #### CRDUpgradeSafetyPreflightConfig CRDUpgradeSafetyPreflightConfig is the configuration for CRD upgrade safety preflight check. _Appears in:_ - [PreflightConfig](#preflightconfig) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `enforcement` _[CRDUpgradeSafetyEnforcement](#crdupgradesafetyenforcement)_ | enforcement is required and configures the state of the CRD Upgrade Safety pre-flight check.
Allowed values are "None" or "Strict". The default value is "Strict".
When set to "None", the CRD Upgrade Safety pre-flight check is skipped during an upgrade operation.
Use this option with caution as unintended consequences such as data loss can occur.
When set to "Strict", the CRD Upgrade Safety pre-flight check runs during an upgrade operation. | | Enum: [None Strict]
Required: \{\}
| #### CatalogFilter CatalogFilter defines the attributes used to identify and filter content from a catalog. _Appears in:_ - [SourceConfig](#sourceconfig) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `packageName` _string_ | packageName specifies the name of the package to be installed and is used to filter
the content from catalogs.
It is required, immutable, and follows the DNS subdomain standard as defined in [RFC 1123].
It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
start and end with an alphanumeric character, and be no longer than 253 characters.
Some examples of valid values are:
- some-package
- 123-package
- 1-package-2
- somepackage
Some examples of invalid values are:
- -some-package
- some-package-
- thisisareallylongpackagenamethatisgreaterthanthemaximumlength
- some.package
[RFC 1123]: https://tools.ietf.org/html/rfc1123 | | MaxLength: 253
Required: \{\}
| | `version` _string_ | version is an optional semver constraint (a specific version or range of versions).
When unspecified, the latest version available is installed.
Acceptable version ranges are no longer than 64 characters.
Version ranges are composed of comma- or space-delimited values and one or more comparison operators,
known as comparison strings.
You can add additional comparison strings using the OR operator (\|\|).
# Range Comparisons
To specify a version range, you can use a comparison string like ">=3.0,
<3.6". When specifying a range, automatic updates will occur within that
range. The example comparison string means "install any version greater than
or equal to 3.0.0 but less than 3.6.0.". It also states intent that if any
upgrades are available within the version range after initial installation,
those upgrades should be automatically performed.
# Pinned Versions
To specify an exact version to install you can use a version range that
"pins" to a specific version. When pinning to a specific version, no
automatic updates will occur. An example of a pinned version range is
"0.6.0", which means "only install version 0.6.0 and never
upgrade from this version".
# Basic Comparison Operators
The basic comparison operators and their meanings are:
- "=", equal (not aliased to an operator)
- "!=", not equal
- "<", less than
- ">", greater than
- ">=", greater than OR equal to
- "<=", less than OR equal to
# Wildcard Comparisons
You can use the "x", "X", and "*" characters as wildcard characters in all
comparison operations. Some examples of using the wildcard characters:
- "1.2.x", "1.2.X", and "1.2.*" is equivalent to ">=1.2.0, < 1.3.0"
- ">= 1.2.x", ">= 1.2.X", and ">= 1.2.*" is equivalent to ">= 1.2.0"
- "<= 2.x", "<= 2.X", and "<= 2.*" is equivalent to "< 3"
- "x", "X", and "*" is equivalent to ">= 0.0.0"
# Patch Release Comparisons
When you want to specify a minor version up to the next major version you
can use the "~" character to perform patch comparisons. Some examples:
- "~1.2.3" is equivalent to ">=1.2.3, <1.3.0"
- "~1" and "~1.x" is equivalent to ">=1, <2"
- "~2.3" is equivalent to ">=2.3, <2.4"
- "~1.2.x" is equivalent to ">=1.2.0, <1.3.0"
# Major Release Comparisons
You can use the "^" character to make major release comparisons after a
stable 1.0.0 version is published. If there is no stable version published, // minor versions define the stability level. Some examples:
- "^1.2.3" is equivalent to ">=1.2.3, <2.0.0"
- "^1.2.x" is equivalent to ">=1.2.0, <2.0.0"
- "^2.3" is equivalent to ">=2.3, <3"
- "^2.x" is equivalent to ">=2.0.0, <3"
- "^0.2.3" is equivalent to ">=0.2.3, <0.3.0"
- "^0.2" is equivalent to ">=0.2.0, <0.3.0"
- "^0.0.3" is equvalent to ">=0.0.3, <0.0.4"
- "^0.0" is equivalent to ">=0.0.0, <0.1.0"
- "^0" is equivalent to ">=0.0.0, <1.0.0"
# OR Comparisons
You can use the "\|\|" character to represent an OR operation in the version
range. Some examples:
- ">=1.2.3, <2.0.0 \|\| >3.0.0"
- "^0 \|\| ^3 \|\| ^5"
For more information on semver, please see https://semver.org/ | | MaxLength: 64
Optional: \{\}
| | `channels` _string array_ | channels is optional and specifies a set of channels belonging to the package
specified in the packageName field.
A channel is a package-author-defined stream of updates for an extension.
Each channel in the list must follow the DNS subdomain standard as defined in [RFC 1123].
It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
start and end with an alphanumeric character, and be no longer than 253 characters.
You can specify no more than 256 channels.
When specified, it constrains the set of installable bundles and the automated upgrade path.
This constraint is an AND operation with the version field. For example:
- Given channel is set to "foo"
- Given version is set to ">=1.0.0, <1.5.0"
- Only bundles that exist in channel "foo" AND satisfy the version range comparison are considered installable
- Automatic upgrades are constrained to upgrade edges defined by the selected channel
When unspecified, upgrade edges across all channels are used to identify valid automatic upgrade paths.
Some examples of valid values are:
- 1.1.x
- alpha
- stable
- stable-v1
- v1-stable
- dev-preview
- preview
- community
Some examples of invalid values are:
- -some-channel
- some-channel-
- thisisareallylongchannelnamethatisgreaterthanthemaximumlength
- original_40
- --default-channel
[RFC 1123]: https://tools.ietf.org/html/rfc1123 | | MaxItems: 256
items:MaxLength: 253
items:XValidation: \{self.matches("^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$") channels entries must be valid DNS1123 subdomains \}
Optional: \{\}
| | `selector` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#labelselector-v1-meta)_ | selector is optional and filters the set of ClusterCatalogs used in the bundle selection process.
When unspecified, all ClusterCatalogs are used in the bundle selection process. | | Optional: \{\}
| | `upgradeConstraintPolicy` _[UpgradeConstraintPolicy](#upgradeconstraintpolicy)_ | upgradeConstraintPolicy is optional and controls whether the upgrade paths defined in the catalog
are enforced for the package referenced in the packageName field.
Allowed values are "CatalogProvided", "SelfCertified", or omitted.
When set to "CatalogProvided", automatic upgrades only occur when upgrade constraints specified by the package
author are met.
When set to "SelfCertified", the upgrade constraints specified by the package author are ignored.
This allows upgrades and downgrades to any version of the package.
This is considered a dangerous operation as it can lead to unknown and potentially disastrous outcomes,
such as data loss.
Use this option only if you have independently verified the changes.
When omitted, the default value is "CatalogProvided". | CatalogProvided | Enum: [CatalogProvided SelfCertified]
Optional: \{\}
| #### CatalogSource CatalogSource is a discriminated union of possible sources for a Catalog. CatalogSource contains the sourcing information for a Catalog _Appears in:_ - [ClusterCatalogSpec](#clustercatalogspec) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `type` _[SourceType](#sourcetype)_ | type is a required field that specifies the type of source for the catalog.
The only allowed value is "Image".
When set to "Image", the ClusterCatalog content is sourced from an OCI image.
When using an image source, the image field must be set and must be the only field defined for this type. | | Enum: [Image]
Required: \{\}
| | `image` _[ImageSource](#imagesource)_ | image configures how catalog contents are sourced from an OCI image.
It is required when type is Image, and forbidden otherwise. | | Optional: \{\}
| #### ClusterCatalog ClusterCatalog makes File-Based Catalog (FBC) data available to your cluster. For more information on FBC, see https://olm.operatorframework.io/docs/reference/file-based-catalogs/#docs _Appears in:_ - [ClusterCatalogList](#clustercataloglist) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `apiVersion` _string_ | `olm.operatorframework.io/v1` | | | | `kind` _string_ | `ClusterCatalog` | | | | `kind` _string_ | Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | Optional: \{\}
| | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | Optional: \{\}
| | `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | | | `spec` _[ClusterCatalogSpec](#clustercatalogspec)_ | spec is a required field that defines the desired state of the ClusterCatalog.
The controller ensures that the catalog is unpacked and served over the catalog content HTTP server. | | Required: \{\}
| | `status` _[ClusterCatalogStatus](#clustercatalogstatus)_ | status contains the following information about the state of the ClusterCatalog:
- Whether the catalog contents are being served via the catalog content HTTP server
- Whether the ClusterCatalog is progressing to a new state
- A reference to the source from which the catalog contents were retrieved | | Optional: \{\}
| #### ClusterCatalogList ClusterCatalogList contains a list of ClusterCatalog | Field | Description | Default | Validation | | --- | --- | --- | --- | | `apiVersion` _string_ | `olm.operatorframework.io/v1` | | | | `kind` _string_ | `ClusterCatalogList` | | | | `kind` _string_ | Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | Optional: \{\}
| | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | Optional: \{\}
| | `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | | | `items` _[ClusterCatalog](#clustercatalog) array_ | items is a list of ClusterCatalogs.
items is required. | | Required: \{\}
| #### ClusterCatalogSpec ClusterCatalogSpec defines the desired state of ClusterCatalog _Appears in:_ - [ClusterCatalog](#clustercatalog) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `source` _[CatalogSource](#catalogsource)_ | source is a required field that defines the source of a catalog.
A catalog contains information on content that can be installed on a cluster.
The catalog source makes catalog contents discoverable and usable by other on-cluster components.
These components can present the content in a GUI dashboard or install content from the catalog on the cluster.
The catalog source must contain catalog metadata in the File-Based Catalog (FBC) format.
For more information on FBC, see https://olm.operatorframework.io/docs/reference/file-based-catalogs/#docs.
Below is a minimal example of a ClusterCatalogSpec that sources a catalog from an image:
source:
type: Image
image:
ref: quay.io/operatorhubio/catalog:latest | | Required: \{\}
| | `priority` _integer_ | priority is an optional field that defines a priority for this ClusterCatalog.
Clients use the ClusterCatalog priority as a tie-breaker between ClusterCatalogs that meet their requirements.
Higher numbers mean higher priority.
Clients decide how to handle scenarios where multiple ClusterCatalogs with the same priority meet their requirements.
Clients should prompt users for additional input to break the tie.
When omitted, the default priority is 0.
Use negative numbers to specify a priority lower than the default.
Use positive numbers to specify a priority higher than the default.
The lowest possible value is -2147483648.
The highest possible value is 2147483647. | 0 | Maximum: 2.147483647e+09
Minimum: -2.147483648e+09
Optional: \{\}
| | `availabilityMode` _[AvailabilityMode](#availabilitymode)_ | availabilityMode is an optional field that defines how the ClusterCatalog is made available to clients on the cluster.
Allowed values are "Available", "Unavailable", or omitted.
When omitted, the default value is "Available".
When set to "Available", the catalog contents are unpacked and served over the catalog content HTTP server.
Clients should consider this ClusterCatalog and its contents as usable.
When set to "Unavailable", the catalog contents are no longer served over the catalog content HTTP server.
Treat this the same as if the ClusterCatalog does not exist.
Use "Unavailable" when you want to keep the ClusterCatalog but treat it as if it doesn't exist. | Available | Enum: [Unavailable Available]
Optional: \{\}
| #### ClusterCatalogStatus ClusterCatalogStatus defines the observed state of ClusterCatalog _Appears in:_ - [ClusterCatalog](#clustercatalog) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `conditions` _[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#condition-v1-meta) array_ | conditions represents the current state of this ClusterCatalog.
The current condition types are Serving and Progressing.
The Serving condition represents whether the catalog contents are being served via the HTTP(S) web server:
- When status is True and reason is Available, the catalog contents are being served.
- When status is False and reason is Unavailable, the catalog contents are not being served because the contents are not yet available.
- When status is False and reason is UserSpecifiedUnavailable, the catalog contents are not being served because the catalog has been intentionally marked as unavailable.
The Progressing condition represents whether the ClusterCatalog is progressing or is ready to progress towards a new state:
- When status is True and reason is Retrying, an error occurred that may be resolved on subsequent reconciliation attempts.
- When status is True and reason is Succeeded, the ClusterCatalog has successfully progressed to a new state and is ready to continue progressing.
- When status is False and reason is Blocked, an error occurred that requires manual intervention for recovery.
If the system initially fetched contents and polling identifies updates, both conditions can be active simultaneously:
- The Serving condition remains True with reason Available because the previous contents are still served via the HTTP(S) web server.
- The Progressing condition is True with reason Retrying because the system is working to serve the new version. | | Optional: \{\}
| | `resolvedSource` _[ResolvedCatalogSource](#resolvedcatalogsource)_ | resolvedSource contains information about the resolved source based on the source type. | | Optional: \{\}
| | `urls` _[ClusterCatalogURLs](#clustercatalogurls)_ | urls contains the URLs that can be used to access the catalog. | | Optional: \{\}
| | `lastUnpacked` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#time-v1-meta)_ | lastUnpacked represents the last time the catalog contents were extracted from their source format.
For example, when using an Image source, the OCI image is pulled and image layers are written to a file-system backed cache.
This extraction from the source format is called "unpacking". | | Optional: \{\}
| #### ClusterCatalogURLs ClusterCatalogURLs contains the URLs that can be used to access the catalog. _Appears in:_ - [ClusterCatalogStatus](#clustercatalogstatus) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `base` _string_ | base is a cluster-internal URL that provides endpoints for accessing the catalog content.
Clients should append the path for the endpoint they want to access.
Currently, only a single endpoint is served and is accessible at the path /api/v1.
The endpoints served for the v1 API are:
- /all - this endpoint returns the entire catalog contents in the FBC format
New endpoints may be added as needs evolve. | | MaxLength: 525
Required: \{\}
| #### ClusterExtension ClusterExtension is the Schema for the clusterextensions API _Appears in:_ - [ClusterExtensionList](#clusterextensionlist) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `apiVersion` _string_ | `olm.operatorframework.io/v1` | | | | `kind` _string_ | `ClusterExtension` | | | | `kind` _string_ | Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | Optional: \{\}
| | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | Optional: \{\}
| | `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | Optional: \{\}
| | `spec` _[ClusterExtensionSpec](#clusterextensionspec)_ | spec is an optional field that defines the desired state of the ClusterExtension.
| | Optional: \{\}
| | `status` _[ClusterExtensionStatus](#clusterextensionstatus)_ | status is an optional field that defines the observed state of the ClusterExtension. | | Optional: \{\}
| #### ClusterExtensionConfig ClusterExtensionConfig is a discriminated union which selects the source configuration values to be merged into the ClusterExtension's rendered manifests. _Appears in:_ - [ClusterExtensionSpec](#clusterextensionspec) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `configType` _[ClusterExtensionConfigType](#clusterextensionconfigtype)_ | configType is required and specifies the type of configuration source.
The only allowed value is "Inline".
When set to "Inline", the cluster extension configuration is defined inline within the ClusterExtension resource. | | Enum: [Inline]
Required: \{\}
| | `inline` _[JSON](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#json-v1-apiextensions-k8s-io)_ | inline contains JSON or YAML values specified directly in the ClusterExtension.
It is used to specify arbitrary configuration values for the ClusterExtension.
It must be set if configType is 'Inline' and must be a valid JSON/YAML object containing at least one property.
The configuration values are validated at runtime against a JSON schema provided by the bundle. | | MinProperties: 1
Type: object
Optional: \{\}
| #### ClusterExtensionConfigType _Underlying type:_ _string_ _Appears in:_ - [ClusterExtensionConfig](#clusterextensionconfig) | Field | Description | | --- | --- | | `Inline` | | #### ClusterExtensionInstallConfig ClusterExtensionInstallConfig is a union which selects the clusterExtension installation config. _Appears in:_ - [ClusterExtensionSpec](#clusterextensionspec) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `preflight` _[PreflightConfig](#preflightconfig)_ | preflight is optional and configures the checks that run before installation or upgrade
of the content for the package specified in the packageName field.
When specified, it replaces the default preflight configuration for install/upgrade actions.
When not specified, the default configuration is used. | | Optional: \{\}
| #### ClusterExtensionInstallStatus ClusterExtensionInstallStatus is a representation of the status of the identified bundle. _Appears in:_ - [ClusterExtensionStatus](#clusterextensionstatus) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `bundle` _[BundleMetadata](#bundlemetadata)_ | bundle is required and represents the identifying attributes of a bundle.
A "bundle" is a versioned set of content that represents the resources that need to be applied
to a cluster to install a package. | | Required: \{\}
| #### ClusterExtensionList ClusterExtensionList contains a list of ClusterExtension | Field | Description | Default | Validation | | --- | --- | --- | --- | | `apiVersion` _string_ | `olm.operatorframework.io/v1` | | | | `kind` _string_ | `ClusterExtensionList` | | | | `kind` _string_ | Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | Optional: \{\}
| | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | Optional: \{\}
| | `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | Optional: \{\}
| | `items` _[ClusterExtension](#clusterextension) array_ | items is a required list of ClusterExtension objects. | | Required: \{\}
| #### ClusterExtensionSpec ClusterExtensionSpec defines the desired state of ClusterExtension _Appears in:_ - [ClusterExtension](#clusterextension) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `namespace` _string_ | namespace specifies a Kubernetes namespace.
**Standard channel:** It designates the default namespace where namespace-scoped resources for the extension are applied to the cluster.
Some extensions may contain namespace-scoped resources to be applied in other namespaces.
This namespace must exist.
The namespace field is required, immutable, and follows the DNS label standard as defined in [RFC 1123].
It must contain only lowercase alphanumeric characters or hyphens (-), start and end with an alphanumeric character,
and be no longer than 63 characters.
[RFC 1123]: https://tools.ietf.org/html/rfc1123

**Experimental channel:**
It designates the default namespace where namespace-scoped resources for the extension
are applied to.
namespace is optional. When set, it must reference an existing namespace on the cluster.
When omitted, operator-controller resolves and creates a managed namespace from the
bundle's metadata. Whether namespace is set or omitted is fixed at creation time and
cannot be changed afterwards.
The namespace field follows the DNS label standard as defined in [RFC 1123].
It must contain only lowercase alphanumeric characters or hyphens (-), start and end with an alphanumeric character,
and be no longer than 63 characters.
[RFC 1123]: https://tools.ietf.org/html/rfc1123





| | MaxLength: 63
Required: \{\}
| | `serviceAccount` _[ServiceAccountReference](#serviceaccountreference)_ | serviceAccount is a deprecated field and is completely ignored.
OLMv1 is a single-tenant system where users with ClusterExtension write access are
effectively delegated cluster-admin trust. The operator-controller runs with
cluster-admin privileges and uses its own service account for all cluster interactions.
Deprecated: serviceAccount is no longer used and will be removed in a future release. | | MinProperties: 1
Optional: \{\}
| | `source` _[SourceConfig](#sourceconfig)_ | source is required and selects the installation source of content for this ClusterExtension.
Set the sourceType field to perform the selection.
Catalog is currently the only implemented sourceType.
Setting sourceType to "Catalog" requires the catalog field to also be defined.
Below is a minimal example of a source definition (in yaml):
source:
sourceType: Catalog
catalog:
packageName: example-package | | Required: \{\}
| | `install` _[ClusterExtensionInstallConfig](#clusterextensioninstallconfig)_ | install is optional and configures installation options for the ClusterExtension,
such as the pre-flight check configuration. | | Optional: \{\}
| | `config` _[ClusterExtensionConfig](#clusterextensionconfig)_ | config is optional and specifies bundle-specific configuration.
Configuration is bundle-specific and a bundle may provide a configuration schema.
When not specified, the default configuration of the resolved bundle is used.
config is validated against a configuration schema provided by the resolved bundle. If the bundle does not provide
a configuration schema the bundle is deemed to not be configurable. More information on how
to configure bundles can be found in the OLM documentation associated with your current OLM version.
**Experimental channel:** | | Optional: \{\}
| | `progressDeadlineMinutes` _integer_ | progressDeadlineMinutes is an optional field that defines the maximum period
of time in minutes after which an installation should be considered failed and
require manual intervention. This functionality is disabled when no value
is provided. The minimum period is 10 minutes, and the maximum is 720 minutes (12 hours).
**Experimental channel:** | | Maximum: 720
Minimum: 10
Optional: \{\}
| #### ClusterExtensionStatus ClusterExtensionStatus defines the observed state of a ClusterExtension. _Appears in:_ - [ClusterExtension](#clusterextension) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `conditions` _[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#condition-v1-meta) array_ | conditions represents the current state of the ClusterExtension.
The set of condition types which apply to all spec.source variations are Installed and Progressing.
The Installed condition represents whether the bundle has been installed for this ClusterExtension:
- When Installed is True and the Reason is Succeeded, the bundle has been successfully installed.
- When Installed is False and the Reason is Failed, the bundle has failed to install.
The Progressing condition represents whether or not the ClusterExtension is advancing towards a new state.
When Progressing is True and the Reason is Succeeded, the ClusterExtension is making progress towards a new state.
When Progressing is True and the Reason is Retrying, the ClusterExtension has encountered an error that could be resolved on subsequent reconciliation attempts.
When Progressing is False and the Reason is Blocked, the ClusterExtension has encountered an error that requires manual intervention for recovery.
**Experimental channel:**
When Progressing is True and Reason is RollingOut, the ClusterExtension has one or more ClusterObjectSets in active roll out.

When the ClusterExtension is sourced from a catalog, it surfaces deprecation conditions based on catalog metadata.
These are indications from a package owner to guide users away from a particular package, channel, or bundle:
- BundleDeprecated is True if the installed bundle is marked deprecated, False if not deprecated, or Unknown if no bundle is installed yet or if catalog data is unavailable.
- ChannelDeprecated is True if any requested channel is marked deprecated, False if not deprecated, or Unknown if catalog data is unavailable.
- PackageDeprecated is True if the requested package is marked deprecated, False if not deprecated, or Unknown if catalog data is unavailable.
- Deprecated is a rollup condition that is True when any deprecation exists, False when none exist, or Unknown when catalog data is unavailable. | | Optional: \{\}
| | `install` _[ClusterExtensionInstallStatus](#clusterextensioninstallstatus)_ | install is a representation of the current installation status for this ClusterExtension. | | Optional: \{\}
| #### ClusterObjectDeployment ClusterObjectDeployment manages mutable desired content through immutable ClusterObjectSet revisions. It is an experimental, cluster-scoped API. _Appears in:_ - [ClusterObjectDeploymentList](#clusterobjectdeploymentlist) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `apiVersion` _string_ | `olm.operatorframework.io/v1` | | | | `kind` _string_ | `ClusterObjectDeployment` | | | | `kind` _string_ | Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | Optional: \{\}
| | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | Optional: \{\}
| | `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | Optional: \{\}
| | `spec` _[ClusterObjectDeploymentSpec](#clusterobjectdeploymentspec)_ | spec defines the desired deployment template. | | Required: \{\}
| | `status` _[ClusterObjectDeploymentStatus](#clusterobjectdeploymentstatus)_ | status defines the observed state and is written through the status subresource. | | Optional: \{\}
| #### ClusterObjectDeploymentList ClusterObjectDeploymentList contains ClusterObjectDeployment objects. | Field | Description | Default | Validation | | --- | --- | --- | --- | | `apiVersion` _string_ | `olm.operatorframework.io/v1` | | | | `kind` _string_ | `ClusterObjectDeploymentList` | | | | `kind` _string_ | Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | Optional: \{\}
| | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | Optional: \{\}
| | `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | Optional: \{\}
| | `items` _[ClusterObjectDeployment](#clusterobjectdeployment) array_ | items is the list of deployments. | | Required: \{\}
| #### ClusterObjectDeploymentSpec ClusterObjectDeploymentSpec defines the mutable desired state of a deployment. _Appears in:_ - [ClusterObjectDeployment](#clusterobjectdeployment) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `revisionHistoryLimit` _integer_ | revisionHistoryLimit is the maximum number of archived (superseded)
ClusterObjectSet revisions to retain, so that rollout history can be
inspected and earlier revisions rolled back to. Active revisions are never
removed and do not count against this limit. When the number of archived
revisions exceeds this value, the oldest archived revisions are deleted
until the limit is met.
A value of 0 retains no archived revisions. The minimum is 0, the maximum
is 50, and the default is 5. | 5 | Maximum: 50
Minimum: 0
Optional: \{\}
| | `progressDeadlineMinutes` _integer_ | progressDeadlineMinutes is the maximum number of minutes a revision may take
to roll out, measured from the ClusterObjectSet's creation timestamp. Time
spent waiting for the ClusterObjectSet to be created is not counted. The
deadline covers all phases together; completing a phase does not reset it.
Once a revision has completed, the deadline no longer applies, even if it
later becomes unhealthy. When omitted, no deadline is enforced. The minimum
period is 1 minute, and the maximum is 720 minutes (12 hours).
The deadline is rollout policy, not revision content: changing it does not
create a new revision and applies immediately to the latest active revision. | | Maximum: 720
Minimum: 1
Optional: \{\}
| | `template` _[ClusterObjectDeploymentTemplate](#clusterobjectdeploymenttemplate)_ | template is the desired content of newly created ClusterObjectSets.
Changes to template create a new revision; existing revisions remain immutable. | | Required: \{\}
| #### ClusterObjectDeploymentStatus ClusterObjectDeploymentStatus reports rollout progress. _Appears in:_ - [ClusterObjectDeployment](#clusterobjectdeployment) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `conditions` _[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#condition-v1-meta) array_ | conditions describes rollout progress and availability for the observed generation.
Progressing is True with reason NewClusterObjectSetProgressing while the desired
rollout is incomplete, or False with reason NewClusterObjectSetProgressed after
completion. Completion remains recorded even if the completed revision later
becomes unhealthy. Progressing is False with reason ProgressDeadlineExceeded when
the latest revision does not roll out within spec.progressDeadlineMinutes.
Progressing is False with reason InvalidSpecification when spec.template.metadata
contains labels or annotations that are not valid for the resulting
ClusterObjectSet; no new revision is created until the metadata is corrected.
Progressing is False with reason OwnerConflict when the highest active,
non-deleting revision in the deployment's group is controlled by another
controller. No new revision is created while the conflict persists, even if
an owned revision has completed or exceeded its progress deadline.
Progressing is False with reason UnmanagedRevision when the highest active,
non-deleting revision in the deployment's group has no controller owner and is
not labeled app.kubernetes.io/managed-by=object-controller, the proof that the
object-controller created it; such a revision is not adopted and no higher
revision is created while it persists. Recover by removing the revision or by
restoring the managed-by label on it. A revision that instead still references an
older UID of this deployment (for example after a restore) is left to garbage
collection rather than adopted, and no higher revision is created until GC removes
it; this resolves without user action and is not reported as a distinct condition.
While a rollout is incomplete, Progressing also reflects why the latest (head
active) ClusterObjectSet revision is not yet Ready. It is True with reason
RevisionPreconditionsNotMet when the revision's preconditions are not yet met
(for example RBAC or a dependency CRD that has not propagated); the controller
keeps retrying. It is False with reason RevisionObjectCollision when the
revision's objects are owned by another controller or already exist, which the
user must resolve. It is False with reason RevisionInvalidSpecification when the
revision's own objects are invalid; this is distinct from InvalidSpecification
above, which refers to the deployment's spec.template.metadata. Inspect the
named ClusterObjectSet revision for the specific cause.
Available is True with reason Available when at least one active (non-archived)
owned ClusterObjectSet revision is Ready, so the deployment remains available across
rollouts while a previous revision is still Ready. It is False with reason
Unavailable when owned active revisions exist but none are Ready yet, or with reason
NoActiveRevision when no owned active revision exists. Only an ownerless revision
is adopted before status is calculated, and only when it carries the
app.kubernetes.io/managed-by=object-controller label that proves the
object-controller created it; an ownerless revision missing that label is left
untouched and, when it leads the group, blocks the rollout and is reported on the
Progressing condition with reason UnmanagedRevision. A revision that still carries a
controller owner reference is never adopted: foreign-owned revisions are excluded,
and a stale reference to an older UID of this deployment (for example after a
restore) is left to garbage collection rather than rewriting the reference to race
it. | | Optional: \{\}
| #### ClusterObjectDeploymentTemplate ClusterObjectDeploymentTemplate describes the caller-controlled part of a revision. _Appears in:_ - [ClusterObjectDeploymentSpec](#clusterobjectdeploymentspec) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `metadata` _[ClusterObjectDeploymentTemplateMetadata](#clusterobjectdeploymenttemplatemetadata)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | MinProperties: 1
Optional: \{\}
| | `spec` _[ClusterObjectDeploymentTemplateSpec](#clusterobjectdeploymenttemplatespec)_ | spec contains the desired revision content. Group, revision, lifecycle state,
and ownership are assigned by the controller and cannot be set here. | | Required: \{\}
| #### ClusterObjectDeploymentTemplateMetadata ClusterObjectDeploymentTemplateMetadata contains labels and annotations propagated to each ClusterObjectSet revision created from the template. At least one of labels or annotations must be set. _Validation:_ - MinProperties: 1 _Appears in:_ - [ClusterObjectDeploymentTemplate](#clusterobjectdeploymenttemplate) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `labels` _object (keys:string, values:string)_ | labels is a set of key/value pairs propagated to each revision's metadata. | | MaxProperties: 32
MinProperties: 1
Optional: \{\}
| | `annotations` _object (keys:string, values:string)_ | annotations is a set of key/value pairs propagated to each revision's
metadata. The controller validates them against the Kubernetes annotation
rules (key format and total size) before creating a revision; invalid
annotations are reported on the deployment's Progressing condition. | | MaxProperties: 32
MinProperties: 1
Optional: \{\}
| #### ClusterObjectDeploymentTemplateSpec ClusterObjectDeploymentTemplateSpec contains mutable ClusterObjectSet content. _Appears in:_ - [ClusterObjectDeploymentTemplate](#clusterobjectdeploymenttemplate) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `phases` _[ClusterObjectSetPhase](#clusterobjectsetphase) array_ | phases is a required, ordered list of phases that group objects to be applied together.
All objects in a phase are applied in no particular order.
The revision progresses to the next phase only after all objects in the current phase pass their readiness probes.
Phases are torn down in reverse order. Phase order is immutable in a ClusterObjectSet;
changing the order in a ClusterObjectDeployment template creates a new revision.
Each phase in the list must have a unique name. The maximum number of phases is 20.
Server-side apply treats the entire list, including all phase contents, as one field.
Apply clients must supply the complete desired list; phases are not merged by name.
Different field managers cannot independently manage phases or nested object fields.
A differing apply from another manager conflicts unless ownership is forced;
forcing ownership replaces the list and can overwrite another manager's changes.
For standalone ClusterObjectDeployments, keep the complete template in one
authoritative configuration and combine contributions before applying it.
For ClusterExtension-managed deployments, operator-controller generates and applies
the complete template with forced ownership. For example, an administrator's added
platform-policy phase is removed by a subsequent operator-controller apply.
Manage such policy separately from the generated deployment template.
The CE, COD, and COS controllers write different resources or fields in the normal
install flow, so atomic phases do not create ownership conflicts between them.
Changing an existing CRD from map-list to atomic-list semantics changes ownership
granularity. Clients that previously managed separate phases can encounter conflicts
and must coordinate ownership of the complete list. These semantics concern the
phase declaration, not the field ownership rules of objects deployed by a revision. | | MaxItems: 20
MinItems: 1
Required: \{\}
| | `progressionProbes` _[ProgressionProbe](#progressionprobe) array_ | progressionProbes is an optional field which provides the ability to define custom readiness probes
for objects defined within phases. As documented in that field, most kubernetes-native objects
within the phases already have some kind of readiness check built-in, but this field allows for checks
which are tailored to the objects being rolled out - particularly custom resources.
Probes defined within the progressionProbes list will apply to every phase in the revision. However, the probes will only
execute against phase objects which are a match for the provided selector type. For instance, a probe using a GroupKind selector
for ConfigMaps will automatically be considered to have passed for any non-ConfigMap object, but will halt any phase containing
a ConfigMap if that particular object does not pass the probe check.
The maximum number of probes is 20.
**Experimental channel:** | | MaxItems: 20
MinItems: 1
Optional: \{\}
| | `collisionProtection` _[CollisionProtection](#collisionprotection)_ | collisionProtection is a required field that specifies the default collision protection
strategy for all objects in this content. Individual phases or objects can override this value.
This value is used as the default for any phase or object that does not explicitly specify
its own collisionProtection. The resolution order is: object > phase > content. | | Enum: [Prevent IfNoController None]
Required: \{\}
| #### ClusterObjectSetContent ClusterObjectSetContent holds the revision content shared between ClusterObjectSet.spec and a ClusterObjectDeployment's template spec. _Appears in:_ - [ClusterObjectDeploymentTemplateSpec](#clusterobjectdeploymenttemplatespec) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `phases` _[ClusterObjectSetPhase](#clusterobjectsetphase) array_ | phases is a required, ordered list of phases that group objects to be applied together.
All objects in a phase are applied in no particular order.
The revision progresses to the next phase only after all objects in the current phase pass their readiness probes.
Phases are torn down in reverse order. Phase order is immutable in a ClusterObjectSet;
changing the order in a ClusterObjectDeployment template creates a new revision.
Each phase in the list must have a unique name. The maximum number of phases is 20.
Server-side apply treats the entire list, including all phase contents, as one field.
Apply clients must supply the complete desired list; phases are not merged by name.
Different field managers cannot independently manage phases or nested object fields.
A differing apply from another manager conflicts unless ownership is forced;
forcing ownership replaces the list and can overwrite another manager's changes.
For standalone ClusterObjectDeployments, keep the complete template in one
authoritative configuration and combine contributions before applying it.
For ClusterExtension-managed deployments, operator-controller generates and applies
the complete template with forced ownership. For example, an administrator's added
platform-policy phase is removed by a subsequent operator-controller apply.
Manage such policy separately from the generated deployment template.
The CE, COD, and COS controllers write different resources or fields in the normal
install flow, so atomic phases do not create ownership conflicts between them.
Changing an existing CRD from map-list to atomic-list semantics changes ownership
granularity. Clients that previously managed separate phases can encounter conflicts
and must coordinate ownership of the complete list. These semantics concern the
phase declaration, not the field ownership rules of objects deployed by a revision. | | MaxItems: 20
MinItems: 1
Required: \{\}
| | `progressionProbes` _[ProgressionProbe](#progressionprobe) array_ | progressionProbes is an optional field which provides the ability to define custom readiness probes
for objects defined within phases. As documented in that field, most kubernetes-native objects
within the phases already have some kind of readiness check built-in, but this field allows for checks
which are tailored to the objects being rolled out - particularly custom resources.
Probes defined within the progressionProbes list will apply to every phase in the revision. However, the probes will only
execute against phase objects which are a match for the provided selector type. For instance, a probe using a GroupKind selector
for ConfigMaps will automatically be considered to have passed for any non-ConfigMap object, but will halt any phase containing
a ConfigMap if that particular object does not pass the probe check.
The maximum number of probes is 20.
**Experimental channel:** | | MaxItems: 20
MinItems: 1
Optional: \{\}
| | `collisionProtection` _[CollisionProtection](#collisionprotection)_ | collisionProtection is a required field that specifies the default collision protection
strategy for all objects in this content. Individual phases or objects can override this value.
This value is used as the default for any phase or object that does not explicitly specify
its own collisionProtection. The resolution order is: object > phase > content. | | Enum: [Prevent IfNoController None]
Required: \{\}
| #### ClusterObjectSetObject ClusterObjectSetObject represents a Kubernetes object to be applied as part of a phase, along with its collision protection settings. Exactly one of inlineManifest or secretRef must be set. _Appears in:_ - [ClusterObjectSetPhase](#clusterobjectsetphase) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `type` _[ObjectType](#objecttype)_ | type is a required field which specifies the type of object to use.
The allowed object types are "InlineManifest" and "SecretReference".
When set to "InlineManifest", object manifests are supplied inline, as valid Kubernetes resources with apiVersion, kind, and metadata fields.
When set to "SecretReference", objects are supplied as references to a Secret that holds the serialized object manifest.
**Experimental channel:** | | Enum: [InlineManifest SecretReference]
Required: \{\}
| | `inlineManifest` _[Unstructured](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#unstructured-unstructured-v1)_ | inlineManifest is an optional embedded Kubernetes object to be applied.
Exactly one of inlineManifest or secretRef must be set.
This object must be a valid Kubernetes resource with apiVersion, kind, and metadata fields. | | EmbeddedResource: \{\}
Optional: \{\}
| | `secretRef` _[SecretSourceRef](#secretsourceref)_ | secretRef is an optional reference to a Secret that holds the serialized
object manifest.
Exactly one of inlineManifest or secretRef must be set. | | Optional: \{\}
| | `collisionProtection` _[CollisionProtection](#collisionprotection)_ | collisionProtection controls whether the operator can adopt and modify objects
that already exist on the cluster.
Allowed values are: "Prevent", "IfNoController", and "None".
When set to "Prevent", the operator only manages objects it created itself.
This prevents ownership collisions.
When set to "IfNoController", the operator can adopt and modify pre-existing objects
that are not owned by another controller.
This is useful for taking over management of manually-created resources.
When set to "None", the operator can adopt and modify any pre-existing object, even if
owned by another controller.
Use this setting with extreme caution as it may cause multiple controllers to fight over
the same resource, resulting in increased load on the API server and etcd.
When omitted, the value is inherited from the phase, then spec. | | Enum: [Prevent IfNoController None]
Optional: \{\}
| #### ClusterObjectSetPhase ClusterObjectSetPhase represents a group of objects that are applied together. The phase is considered complete only after all objects pass their status probes. _Appears in:_ - [ClusterObjectDeploymentTemplateSpec](#clusterobjectdeploymenttemplatespec) - [ClusterObjectSetContent](#clusterobjectsetcontent) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `name` _string_ | name is a required identifier for this phase.
phase names must follow the DNS label standard as defined in [RFC 1123].
They must contain only lowercase alphanumeric characters or hyphens (-),
start and end with an alphanumeric character, and be no longer than 63 characters.
Common phase names include: namespaces, policies, rbac, crds, storage, deploy, publish.
[RFC 1123]: https://tools.ietf.org/html/rfc1123 | | MaxLength: 63
MinLength: 1
Required: \{\}
| | `objects` _[ClusterObjectSetObject](#clusterobjectsetobject) array_ | objects is a required list of all Kubernetes objects that belong to this phase.
All objects in this list are applied to the cluster in no particular order. The maximum number of objects per phase is 50. | | MaxItems: 50
Required: \{\}
| | `collisionProtection` _[CollisionProtection](#collisionprotection)_ | collisionProtection specifies the default collision protection strategy for all objects
in this phase. Individual objects can override this value.
When set, this value is used as the default for any object in this phase that does not
explicitly specify its own collisionProtection.
When omitted, objects in this phase that do not specify their own collisionProtection inherit the
enclosing spec default: the ClusterObjectSet's .spec.collisionProtection or, for a
ClusterObjectDeployment, the .spec.template.spec.collisionProtection. | | Enum: [Prevent IfNoController None]
Optional: \{\}
| #### CollisionProtection _Underlying type:_ _string_ CollisionProtection specifies if and how ownership collisions are prevented. _Validation:_ - Enum: [Prevent IfNoController None] _Appears in:_ - [ClusterObjectDeploymentTemplateSpec](#clusterobjectdeploymenttemplatespec) - [ClusterObjectSetContent](#clusterobjectsetcontent) - [ClusterObjectSetObject](#clusterobjectsetobject) - [ClusterObjectSetPhase](#clusterobjectsetphase) | Field | Description | | --- | --- | | `Prevent` | CollisionProtectionPrevent prevents owner collisions entirely
by only allowing to work with objects itself has created.
| | `IfNoController` | CollisionProtectionIfNoController allows to patch and override
objects already present if they are not owned by another controller.
| | `None` | CollisionProtectionNone allows to patch and override objects
already present and owned by other controllers.
Be careful! This setting may cause multiple controllers to fight over a resource,
causing load on the API server and etcd.
| #### ConditionEqualProbe ConditionEqualProbe defines the condition type and status required for the probe to succeed. _Appears in:_ - [Assertion](#assertion) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `type` _string_ | type sets the expected condition type, i.e. "Ready".
**Experimental channel:** | | MaxLength: 200
MinLength: 1
Required: \{\}
| | `status` _string_ | status sets the expected condition status.
Allowed values are "True" and "False".
**Experimental channel:** | | Enum: [True False]
Required: \{\}
| #### FieldValueProbe FieldValueProbe defines the path and value expected within for the probe to succeed. _Appears in:_ - [Assertion](#assertion) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `fieldPath` _string_ | fieldPath sets the field path for the field to check, i.e. "status.phase". The probe will fail
if the path does not exist.
**Experimental channel:** | | MaxLength: 200
MinLength: 1
Required: \{\}
| | `value` _string_ | value sets the expected value found at fieldPath, i.e. "Bound".
**Experimental channel:** | | MaxLength: 200
MinLength: 1
Required: \{\}
| #### FieldsEqualProbe FieldsEqualProbe defines the paths of the two fields required to match for the probe to succeed. _Appears in:_ - [Assertion](#assertion) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `fieldA` _string_ | fieldA sets the field path for the first field, i.e. "spec.replicas". The probe will fail
if the path does not exist.
**Experimental channel:** | | MaxLength: 200
MinLength: 1
Required: \{\}
| | `fieldB` _string_ | fieldB sets the field path for the second field, i.e. "status.readyReplicas". The probe will fail
if the path does not exist.
**Experimental channel:** | | MaxLength: 200
MinLength: 1
Required: \{\}
| #### ImageSource ImageSource enables users to define the information required for sourcing a Catalog from an OCI image If we see that there is a possibly valid digest-based image reference AND pollIntervalMinutes is specified, reject the resource since there is no use in polling a digest-based image reference. _Appears in:_ - [CatalogSource](#catalogsource) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `ref` _string_ | ref is a required field that defines the reference to a container image containing catalog contents.
It cannot be more than 1000 characters.
A reference has 3 parts: the domain, name, and identifier.
The domain is typically the registry where an image is located.
It must be alphanumeric characters (lowercase and uppercase) separated by the "." character.
Hyphenation is allowed, but the domain must start and end with alphanumeric characters.
Specifying a port to use is also allowed by adding the ":" character followed by numeric values.
The port must be the last value in the domain.
Some examples of valid domain values are "registry.mydomain.io", "quay.io", "my-registry.io:8080".
The name is typically the repository in the registry where an image is located.
It must contain lowercase alphanumeric characters separated only by the ".", "_", "__", "-" characters.
Multiple names can be concatenated with the "/" character.
The domain and name are combined using the "/" character.
Some examples of valid name values are "operatorhubio/catalog", "catalog", "my-catalog.prod".
An example of the domain and name parts of a reference being combined is "quay.io/operatorhubio/catalog".
The identifier is typically the tag or digest for an image reference and is present at the end of the reference.
It starts with a separator character used to distinguish the end of the name and beginning of the identifier.
For a digest-based reference, the "@" character is the separator.
For a tag-based reference, the ":" character is the separator.
An identifier is required in the reference.
Digest-based references must contain an algorithm reference immediately after the "@" separator.
The algorithm reference must be followed by the ":" character and an encoded string.
The algorithm must start with an uppercase or lowercase alpha character followed by alphanumeric characters and may contain the "-", "_", "+", and "." characters.
Some examples of valid algorithm values are "sha256", "sha256+b64u", "multihash+base58".
The encoded string following the algorithm must be hex digits (a-f, A-F, 0-9) and must be a minimum of 32 characters.
Tag-based references must begin with a word character (alphanumeric + "_") followed by word characters or ".", and "-" characters.
The tag must not be longer than 127 characters.
An example of a valid digest-based image reference is "quay.io/operatorhubio/catalog@sha256:200d4ddb2a73594b91358fe6397424e975205bfbe44614f5846033cad64b3f05"
An example of a valid tag-based image reference is "quay.io/operatorhubio/catalog:latest" | | MaxLength: 1000
Required: \{\}
| | `pollIntervalMinutes` _integer_ | pollIntervalMinutes is an optional field that sets the interval, in minutes, at which the image source is polled for new content.
You cannot specify pollIntervalMinutes when ref is a digest-based reference.
When omitted, the image is not polled for new content. | | Minimum: 1
Optional: \{\}
| #### ObjectDiagnostic ObjectDiagnostic categorizes an observed object problem without exposing implementation-specific actions or claiming individual assertion outcomes. _Appears in:_ - [ObjectStatus](#objectstatus) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `reason` _string_ | reason identifies the diagnostic category:
- ProgressionProbeFailed: the object's aggregate progression probes
evaluated to false.
- ProgressionProbeUnknown: the object's aggregate progression probes
could not be determined, for example because the object's status has
not yet been reported or is outdated.
- ObjectCollision: the object exists but this ClusterObjectSet cannot take
ownership of it under the configured collision protection policy.
- AwaitingDeletion: the object is owned by this ClusterObjectSet, has been
requested for deletion, and is not yet gone from the cluster.
Retryability and terminality must not be inferred from the presence of a
diagnostic alone. | | MaxLength: 1024
MinLength: 1
Pattern: `^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
Required: \{\}
| | `messages` _string array_ | messages provides bounded human-readable explanations of this diagnostic.
Consumers must not parse these messages. Probe messages describe an aggregate
result; their number is not the number of failed assertions. AwaitingDeletion
establishes that teardown is incomplete, not necessarily its underlying cause. | | MaxItems: 18
items:MaxLength: 1024
items:MinLength: 1
Optional: \{\}
| #### ObjectSelector ObjectSelector is a discriminated union which defines the method by which we select objects to make assertions against. _Appears in:_ - [ProgressionProbe](#progressionprobe) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `type` _[SelectorType](#selectortype)_ | type is a required field which specifies the type of selector to use.
The allowed selector types are "GroupKind" and "Label".
When set to "GroupKind", all objects which match the specified group and kind will be selected.
When set to "Label", all objects which match the specified labels and/or expressions will be selected.
**Experimental channel:** | | Enum: [GroupKind Label]
Required: \{\}
| | `groupKind` _[GroupKind](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#groupkind-v1-meta)_ | groupKind specifies the group and kind of objects to select. Note that this selector
has a limitation in that it does not discriminate based on the version of the object;
until this gap is closed users of this selector should take into account the possibility
of different versions of the same groupKind not being able to pass assertions in the
same way.
Required when type is "GroupKind".
Uses the Kubernetes format specified here:
https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#GroupKind
**Experimental channel:** | | Optional: \{\}
| | `label` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#labelselector-v1-meta)_ | label is the label selector definition.
Required when type is "Label".
A probe using a Label selector will be executed against every object matching the labels or expressions; you must use care
when using this type of selector. For example, if multiple Kind objects are selected via labels then the probe is
likely to fail because the values of different Kind objects rarely share the same schema.
The LabelSelector field uses the following Kubernetes format:
https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#LabelSelector
Requires exactly one of matchLabels or matchExpressions.
**Experimental channel:** | | Optional: \{\}
| #### ObjectType _Underlying type:_ _string_ ObjectType defines the type of objects provided in the Objects set. _Validation:_ - Enum: [InlineManifest SecretReference] _Appears in:_ - [ClusterObjectSetObject](#clusterobjectsetobject) | Field | Description | | --- | --- | | `InlineManifest` | | | `SecretReference` | | #### PreflightConfig PreflightConfig holds the configuration for the preflight checks. If used, at least one preflight check must be non-nil. _Appears in:_ - [ClusterExtensionInstallConfig](#clusterextensioninstallconfig) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `crdUpgradeSafety` _[CRDUpgradeSafetyPreflightConfig](#crdupgradesafetypreflightconfig)_ | crdUpgradeSafety configures the CRD Upgrade Safety pre-flight checks that run
before upgrades of installed content.
The CRD Upgrade Safety pre-flight check safeguards from unintended consequences of upgrading a CRD,
such as data loss. | | | #### ProbeType _Underlying type:_ _string_ ProbeType defines the type of probe used as an assertion. _Appears in:_ - [Assertion](#assertion) | Field | Description | | --- | --- | | `ConditionEqual` | | | `FieldsEqual` | | | `FieldValue` | | #### ProgressionProbe ProgressionProbe provides a custom probe definition, consisting of an object selection method and assertions. _Appears in:_ - [ClusterObjectDeploymentTemplateSpec](#clusterobjectdeploymenttemplatespec) - [ClusterObjectSetContent](#clusterobjectsetcontent) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `selector` _[ObjectSelector](#objectselector)_ | selector is a required field which defines the method by which we select objects to apply the below
assertions to. Any object which matches the defined selector will have all the associated assertions
applied against it.
If no objects within a phase are selected by the provided selector, then all assertions defined here
are considered to have succeeded.
**Experimental channel:** | | Required: \{\}
| | `assertions` _[Assertion](#assertion) array_ | assertions is a required list of checks which will run against the objects selected by the selector. If
one or more assertions fail then the phase within which the object lives will not be considered
'Ready', blocking rollout of all subsequent phases.
**Experimental channel:** | | MaxItems: 20
MinItems: 1
Required: \{\}
| #### ResolvedCatalogSource ResolvedCatalogSource is a discriminated union of resolution information for a Catalog. ResolvedCatalogSource contains the information about a sourced Catalog _Appears in:_ - [ClusterCatalogStatus](#clustercatalogstatus) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `type` _[SourceType](#sourcetype)_ | type is a required field that specifies the type of source for the catalog.
The only allowed value is "Image".
When set to "Image", information about the resolved image source is set in the image field. | | Enum: [Image]
Required: \{\}
| | `image` _[ResolvedImageSource](#resolvedimagesource)_ | image contains resolution information for a catalog sourced from an image.
It must be set when type is Image, and forbidden otherwise. | | | #### ResolvedImageSource ResolvedImageSource provides information about the resolved source of a Catalog sourced from an image. _Appears in:_ - [ResolvedCatalogSource](#resolvedcatalogsource) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `ref` _string_ | ref contains the resolved image digest-based reference.
The digest format allows you to use other tooling to fetch the exact OCI manifests
that were used to extract the catalog contents. | | MaxLength: 1000
Required: \{\}
| #### SecretSourceRef SecretSourceRef references content within a Secret that contains a serialized object manifest. _Appears in:_ - [ClusterObjectSetObject](#clusterobjectsetobject) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `name` _string_ | name is the name of the referenced Secret. | | MaxLength: 253
MinLength: 1
Required: \{\}
| | `namespace` _string_ | namespace is the namespace of the referenced Secret.
When empty, defaults to the OLM system namespace during ref resolution. | | MaxLength: 63
MinLength: 1
Optional: \{\}
| | `key` _string_ | key is the data key within the referenced Secret containing the
object manifest content. The value at this key must be a
JSON-serialized Kubernetes object manifest. | | MaxLength: 253
MinLength: 1
Required: \{\}
| #### SelectorType _Underlying type:_ _string_ SelectorType defines the type of selector used for progressionProbes. _Appears in:_ - [ObjectSelector](#objectselector) | Field | Description | | --- | --- | | `GroupKind` | | | `Label` | | #### ServiceAccountReference ServiceAccountReference is a deprecated type and is completely ignored. Deprecated: ServiceAccountReference is no longer used and will be removed in a future release. _Validation:_ - MinProperties: 1 _Appears in:_ - [ClusterExtensionSpec](#clusterextensionspec) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `name` _string_ | name is a deprecated field and is completely ignored.
Deprecated: name is no longer used and will be removed in a future release.
The name field follows the DNS subdomain standard as defined in [RFC 1123].
It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
start and end with an alphanumeric character, and be no longer than 253 characters.
Some examples of valid values are:
- some-serviceaccount
- 123-serviceaccount
- 1-serviceaccount-2
- someserviceaccount
- some.serviceaccount
Some examples of invalid values are:
- -some-serviceaccount
- some-serviceaccount-
[RFC 1123]: https://tools.ietf.org/html/rfc1123 | | MaxLength: 253
MinLength: 1
Optional: \{\}
| #### SourceConfig SourceConfig is a discriminated union which selects the installation source. _Appears in:_ - [ClusterExtensionSpec](#clusterextensionspec) | Field | Description | Default | Validation | | --- | --- | --- | --- | | `sourceType` _string_ | sourceType is required and specifies the type of install source.
The only allowed value is "Catalog".
When set to "Catalog", information for determining the appropriate bundle of content to install
is fetched from ClusterCatalog resources on the cluster.
When using the Catalog sourceType, the catalog field must also be set. | | Enum: [Catalog]
Required: \{\}
| | `catalog` _[CatalogFilter](#catalogfilter)_ | catalog configures how information is sourced from a catalog.
It is required when sourceType is "Catalog", and forbidden otherwise. | | Optional: \{\}
| #### SourceType _Underlying type:_ _string_ SourceType defines the type of source used for catalogs. _Appears in:_ - [CatalogSource](#catalogsource) - [ResolvedCatalogSource](#resolvedcatalogsource) | Field | Description | | --- | --- | | `Image` | | #### UpgradeConstraintPolicy _Underlying type:_ _string_ _Appears in:_ - [CatalogFilter](#catalogfilter) | Field | Description | | --- | --- | | `CatalogProvided` | The extension will only upgrade if the new version satisfies
the upgrade constraints set by the package author.
| | `SelfCertified` | Unsafe option which allows an extension to be
upgraded or downgraded to any available version of the package and
ignore the upgrade path designed by package authors.
This assumes that users independently verify the outcome of the changes.
Use with caution as this can lead to unknown and potentially
disastrous results such as data loss.
|