apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: <extension_name>
...
spec:
namespace: <installation_namespace>
config:
configType: Inline
inline:
watchNamespace: <watch_namespace>
deploymentConfig examples
deploymentConfig field reference
deploymentConfig
You can customize Operator installations to control namespace scope and manage deployment behavior including resource allocation, node placement, and pod scheduling.
|
Configuring cluster extensions is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
Configure the namespace an extension watches by using the .spec.config field in the ClusterExtension resource.
|
OLM v1 configuration API is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
Extensions watch all namespaces by default. Some Operators support only namespace-scoped watching based on OLM (Classic) install modes. Configure the .spec.config.inline.watchNamespace field to install these Operators.
Whether you must configure this field depends on the install modes supported by the bundle.
The configuration API uses an opaque structure. The bundle validates the configuration values, not OLM v1. Operator authors can define their own configuration requirements.
Currently, the Inline configuration type is the only supported type:
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: <extension_name>
...
spec:
namespace: <installation_namespace>
config:
configType: Inline
inline:
watchNamespace: <watch_namespace>
where:
<installation_namespace>Specifies the namespace where the extension components run.
config.configTypeSpecifies the configuration type. Currently, Inline is the only supported type.
<watch_namespace>Specifies the namespace where the extension watches for custom resources. The watch namespace can match or differ from the installation namespace, depending on the install modes supported by the bundle.
Avoid installation failures by using the correct watchNamespace value for the install modes supported by your bundle. Requirements vary based on whether the bundle supports AllNamespaces, OwnNamespace, and SingleNamespace install modes.
OLM (Classic) registry+v1 bundles declare the install modes they support. These install modes control whether watchNamespace configuration is required or optional, and what values are valid.
|
OLM v1 does not support multi-tenancy. You cannot install the same extension more than once on a cluster. As a result, the |
AllNamespacesWatches resources across all namespaces in the cluster.
OwnNamespaceWatches resources only in the installation namespace.
SingleNamespaceWatches resources in a single namespace that differs from the installation namespace.
Whether the .spec.config.inline.watchNamespace field is required depends on the install modes that the bundle supports.
| Bundle install mode support | watchNamespace field | Valid values |
|---|---|---|
|
Not applicable |
The |
|
Required |
Must match |
|
Required |
Must differ from |
Both |
Required |
Can match or differ from |
|
Optional |
Omit to watch all namespaces, or specify a namespace to watch only that namespace |
|
OLM v1 validates the |
You can render the bundle metadata to find which install modes a bundle supports.
You have installed the jq CLI tool.
You have installed the opm CLI tool.
Render the bundle metadata by running the following command:
$ opm render <bundle_image> -o json | \
jq 'select(.schema == "olm.bundle") | .properties[] | select(.type == "olm.bundle.object")'
{
"type": "olm.bundle.object",
"value": {
"data": "...",
"ref": "olm.csv"
}
}
Decode the base64-encoded CSV data to view install mode declarations:
$ echo "<base64_data>" | base64 -d | jq '.spec.installModes'
[
{
"type": "OwnNamespace",
"supported": true
},
{
"type": "SingleNamespace",
"supported": true
},
{
"type": "MultiNamespace",
"supported": false
},
{
"type": "AllNamespaces",
"supported": false
}
]
In this example, the bundle supports both OwnNamespace and SingleNamespace modes. The .spec.config.inline.watchNamespace field is required and can match or differ from the .spec.namespace field.
You can configure the watch namespace for extensions that support namespace-scoped resource watching.
|
Configuring watch namespace for a cluster extension is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
You have access to an OKD cluster using an account with cluster-admin permissions.
You have enabled the TechPreviewNoUpgrade feature set on the cluster.
You have created a service account and assigned enough role-based access controls (RBAC) to install, update, and manage the extension. For more information, see "Cluster extension permissions".
You have verified the supported install modes for the extension and determined the required watchNamespace configuration.
Create a custom resource (CR) based on where you want the extension to watch for resources:
To configure the extension to watch its own installation namespace:
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: <extension_name>
spec:
namespace: <installation_namespace>
config:
configType: Inline
inline:
watchNamespace: <installation_namespace>
serviceAccount:
name: <service_account>
source:
sourceType: Catalog
catalog:
packageName: <package_name>
version: <version>
upgradeConstraintPolicy: CatalogProvided
where:
config.inline.watchNamespaceSpecifies the namespace to watch for resources. For requirements and valid values, see "Extension configuration".
To configure the extension to watch a different namespace:
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: <extension_name>
spec:
namespace: <installation_namespace>
config:
configType: Inline
inline:
watchNamespace: <watched_namespace>
serviceAccount:
name: <service_account>
source:
sourceType: Catalog
catalog:
packageName: <package_name>
version: <version>
upgradeConstraintPolicy: CatalogProvided
Apply the CR to the cluster by running the following command:
$ oc apply -f <cluster_extension_cr>.yaml
Verify that the extension installed successfully by running the following command:
$ oc get clusterextension <extension_name> -o yaml
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: <extension_name>
spec:
namespace: <installation_namespace>
config:
configType: Inline
inline:
watchNamespace: <installation_namespace>
status:
conditions:
- type: Installed
status: "True"
reason: Succeeded
To configure the watchNamespace field correctly for your bundle’s install mode, see the following examples. These show valid configurations for Operators that support the AllNamespaces, OwnNamespace, and SingleNamespace install modes.
AllNamespaces install modeapiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: example-extension
spec:
namespace: openshift-operators
serviceAccount:
name: example-sa
source:
sourceType: Catalog
catalog:
packageName: example-operator
The config field is omitted. The extension watches all namespaces by default.
OwnNamespace install modeapiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: example-extension
spec:
namespace: example-operators
config:
configType: Inline
inline:
watchNamespace: example-operators
serviceAccount:
name: example-sa
source:
sourceType: Catalog
catalog:
packageName: example-operator
You must set the watchNamespace field to use the OwnNamespace install mode.
The watchNamespace value must match the spec.namespace field value.
SingleNamespace install modeapiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: example-extension
spec:
namespace: example-operators
config:
configType: Inline
inline:
watchNamespace: production
serviceAccount:
name: example-sa
source:
sourceType: Catalog
catalog:
packageName: example-operator
You must set the watchNamespace field to use the SingleNamespace install mode.
The watchNamespace value must differ from the spec.namespace field value.
In this example, the extension runs in the example-operators namespace but watches resources in the production namespace.
Validation errors occur when the watchNamespace field is omitted or contains an invalid value for the install modes supported by the bundle.
| Error | Cause | Resolution |
|---|---|---|
Required field missing |
The bundle requires the |
Add the |
|
The bundle only supports |
Set the |
|
The bundle only supports |
Set the |
Invalid configuration |
The |
Verify the configuration follows the correct API structure with |
The deploymentConfig API controls Operator pod runtime settings such as resources, node placement, and environment variables, providing feature parity with OLM (Classic) Subscription configuration.
|
OLM v1 For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
Provides feature parity with the Subscription.spec.config configuration of the OLM (Classic). Configure resources, node placement, storage, environment variables, and other deployment settings.
Configure how the Operator deploys in the spec.config.inline.deploymentConfig field as a JSON object.
deploymentConfig objectapiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: <extension_name>
spec:
namespace: <installation_namespace>
serviceAccount:
name: <service_account_name>
source:
sourceType: Catalog
catalog:
packageName: <package_name>
config:
configType: Inline
inline:
deploymentConfig:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
nodeSelector:
node-role.kubernetes.io/infra: ""
tolerations:
- key: node-role.kubernetes.io/infra
operator: Exists
effect: NoSchedule
where:
serviceAccount:Specifies the service account name for the Operator.
source:Specifies the package source configuration.
deploymentConfig:Specifies the object for customizing the deployment.
resources:Specifies the CPU and memory requests and limits.
nodeSelector:Specifies the node placement selector.
tolerations:Specifies the node taint tolerations.
Add or override environment variables with env. Values are merged with existing container environment variables, with deploymentConfig values taking precedence.
Add environment variable sources with envFrom. Sources are appended to existing sources; duplicates are skipped.
Specify CPU and memory requests and limits with resources. Replaces existing resource requirements.
Control pod node placement with nodeSelector. Replaces existing node selector.
Schedule pods on nodes with taints by using tolerations. Appended to existing tolerations.
Define pod affinity and anti-affinity rules with affinity. Non-nil fields replace corresponding bundle fields.
Add volumes and volume mounts. Volumes with the same name as existing bundle volumes are overridden; new volumes are appended.
Add custom pod annotations. Merged with existing annotations. Annotations already set by the bundle cannot be overridden.
OLM v1 validates configuration against a JSON schema generated from Kubernetes API definitions. The schema derives from the SubscriptionConfig type used in OLM (Classic), providing consistent validation across versions.
Invalid configurations prevent installation and report errors in the ClusterExtension resource’s Progressing condition. Common validation errors include:
Unknown field errors when using unsupported configuration options
Type mismatch errors when field values do not match the expected type
Required field errors when mandatory nested fields are missing
|
OLM v1 applies configurations during the |
Transfer existing Subscription.spec.config settings to the deploymentConfig object. The YAML structure is the same, but some merge behaviors differ from OLM (Classic).
|
|
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: my-operator
spec:
name: my-operator
channel: stable
config:
nodeSelector:
node-role.kubernetes.io/infra: ""
tolerations:
- key: node-role.kubernetes.io/infra
operator: Exists
effect: NoSchedule
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: my-operator
spec:
namespace: my-operator-ns
serviceAccount:
name: my-operator-sa
config:
configType: Inline
inline:
deploymentConfig:
nodeSelector:
node-role.kubernetes.io/infra: ""
tolerations:
- key: node-role.kubernetes.io/infra
operator: Exists
effect: NoSchedule
source:
sourceType: Catalog
catalog:
packageName: my-operator
ClusterObjectSets deploy cluster extensions through ordered phases, enabling safe upgrades by maintaining both old and new revisions until the new version succeeds.
|
OLM v1 ClusterObjectSets is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
ClusterObjectSets are cluster-scoped APIs representing versioned resource sets organized into ordered phases. OLM v1 uses ClusterObjectSets to deploy Operator resources sequentially.
Resources deploy in a defined order by kind. For example, Custom Resource Definitions (CRDs) are created before deployments that use them.
Both old and new revisions remain active until the new version succeeds, mitigating service disruption.
Immutable revisions provide a clear deployment record.
References externalized secrets to bypass the etcd 1.5 MiB size limit, enabling large bundle deployments.
OLM v1 applies deploymentConfig settings during the ClusterObjectSet process, modifying Operator manifests before organizing them into phases.
Phases are system-determined groups that organize resources into ordered deployment stages based on their API group and kind. Objects are automatically assigned to well-known phases.
|
All objects within a phase are applied in no particular order. The next phase begins only after all objects in the current phase pass their readiness probes. |
The system assigns resources to the following phases in order:
namespacesNamespace objects.
policiesNetworkPolicy, PodDisruptionBudget, and PriorityClass objects.
identityServiceAccount objects.
configurationSecret and ConfigMap objects.
storagePersistentVolume, PersistentVolumeClaim, and StorageClass objects.
crdsCustomResourceDefinition objects.
rolesClusterRole and Role objects.
bindingsClusterRoleBinding and RoleBinding objects.
infrastructureService, Issuer, and Certificate objects.
deployDeployment objects.
scalingVerticalPodAutoscaler objects.
publishPrometheusRule, ServiceMonitor, PodMonitor, Ingress, Route, and console resources.
admissionValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
Monitor and troubleshoot cluster extension deployments by viewing ClusterObjectSet phases, resource status, and revision history.
List all ClusterObjectSets in the cluster by entering the following command:
$ oc get clusterobjectsets
List ClusterObjectSets for a specific extension by running the following command:
$ oc get clusterobjectsets -l olm.operatorframework.io/owner-name=<extension_name>
Replace <extension_name> with your ClusterExtension name.
View the details of a specific ClusterObjectSet by running the following command:
$ oc get clusterobjectset <clusterobjectset_name> -o yaml
Shows deployment phases, resource status, and conditions.
Check the ClusterExtension status to see active revisions by running the following command:
$ oc get clusterextension <extension_name> -o jsonpath='{.status.activeRevisions}{"\n"}'
Shows the active revisions currently deployed.
Customize Operator pod deployments to meet production requirements by configuring resource allocation, node placement, and pod tolerations through the ClusterExtension resource.
|
OLM v1 For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
You have access to an OKD cluster using an account with cluster-admin permissions.
You have enabled the TechPreviewNoUpgrade feature set on the cluster.
You have created a service account and assigned enough role-based access controls (RBAC) to install, update, and manage the extension. For more information, see "Cluster extension permissions".
You have installed the OpenShift CLI (oc).
You have identified the operator you want to install and customize.
Create a ClusterExtension resource with deploymentConfig customizations:
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: my-operator
spec:
namespace: my-operator-ns
serviceAccount:
name: my-operator-installer
config:
configType: Inline
inline:
deploymentConfig:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
nodeSelector:
node-role.kubernetes.io/infra: ""
tolerations:
- key: node-role.kubernetes.io/infra
operator: Exists
effect: NoSchedule
source:
sourceType: Catalog
catalog:
packageName: my-operator
version: 1.0.0
where:
resources:Specifies CPU and memory resource requests and limits for the Operator pod.
nodeSelector:Specifies pod scheduling restrictions to infrastructure nodes.
tolerations:Specifies pod tolerations that allow scheduling on nodes with the specified taint.
Apply the ClusterExtension resource:
$ oc apply -f my-operator.yaml
Verify the installation:
$ oc get clusterextension my-operator -o yaml
Verify that the deploymentConfig settings were applied:
$ oc get deployment -n my-operator-ns -l olm.operatorframework.io/owner-name=my-operator -o yaml
Check the deployment specification for your configured settings such as resource limits, node selectors, tolerations, and volumes.
deploymentConfig examplesCustomize Operator deployments using resource limits, node placement, custom volumes, environment variables, and combined configurations.
|
OLM v1 For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
Add environment variables for runtime configuration.
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: kmm-operator
spec:
namespace: openshift-kmm
serviceAccount:
name: kmm-operator-sa
config:
configType: Inline
inline:
deploymentConfig:
env:
- name: KMM_MANAGED
value: "1"
source:
sourceType: Catalog
catalog:
packageName: kernel-module-management
where:
KMM_MANAGEDSpecifies the environment variable used when deploying the Kernel Module Management Operator in a hub-and-spoke configuration.
Mount a custom CA certificate for HTTPS communication through a proxy.
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: my-operator
spec:
namespace: my-operator-ns
serviceAccount:
name: my-operator-sa
config:
configType: Inline
inline:
deploymentConfig:
volumes:
- name: trusted-ca
configMap:
name: trusted-ca
items:
- key: ca-bundle.crt
path: tls-ca-bundle.pem
volumeMounts:
- name: trusted-ca
mountPath: /etc/pki/ca-trust/extracted/pem
readOnly: true
source:
sourceType: Catalog
catalog:
packageName: my-operator
where:
volumes:Specifies a volume created from the trusted-ca config map.
volumeMounts:Specifies the volume mount to the Operator container at the specified path.
mountPath:Specifies the path where the certificate bundle is available inside the container.
Spread Operator pods across nodes for high availability.
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: my-operator
spec:
namespace: my-operator-ns
serviceAccount:
name: my-operator-sa
config:
configType: Inline
inline:
deploymentConfig:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- my-operator
topologyKey: kubernetes.io/hostname
source:
sourceType: Catalog
catalog:
packageName: my-operator
where:
podAntiAffinity:Specifies anti-affinity rules for the Operator pod.
preferredDuringSchedulingIgnoredDuringExecution:Specifies soft constraints that the scheduler tries to enforce but does not guarantee.
topologyKeySpecifies the topology key that groups nodes by hostname to ensure pods are spread across different nodes.
Combine multiple deployment customizations.
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: production-operator
spec:
namespace: production-operators
serviceAccount:
name: production-operator-installer
config:
configType: Inline
inline:
deploymentConfig:
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
env:
- name: LOG_LEVEL
value: info
- name: ENABLE_METRICS
value: "true"
nodeSelector:
node-role.kubernetes.io/infra: ""
tolerations:
- key: node-role.kubernetes.io/infra
operator: Exists
effect: NoSchedule
annotations:
monitoring.openshift.io/scrape: "true"
monitoring.openshift.io/port: "8080"
source:
sourceType: Catalog
catalog:
packageName: production-operator
version: 2.1.0
where:
resources:Specifies memory and CPU requests and limits for the Operator pod.
env:Specifies environment variables for the Operator.
nodeSelector:Specifies that the pod runs on infrastructure nodes.
tolerations:Specifies pod tolerations that allow scheduling on nodes with the specified taint.
annotations:Specifies Prometheus monitoring annotations for the pod.
deploymentConfig field referenceField reference for the deploymentConfig API including OLM (Classic) to OLM v1 field mappings and merge behavior for each configuration option.
|
OLM v1 For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
Field conversion from OLM (Classic) to OLM v1:
| OLM (Classic) field path | OLM v1 field path | Notes |
|---|---|---|
|
|
Environment variables are merged. OLM v1 values take precedence over bundle values. |
|
|
Environment variable sources are appended to bundle sources. Duplicates are skipped. |
|
|
Resource specifications completely replace bundle resource requirements. |
|
|
Node selectors completely replace bundle node selectors. |
|
|
Tolerations are appended to bundle tolerations. |
|
|
Affinity rules selectively override bundle affinity. Non-nil fields replace corresponding bundle fields. |
|
|
Volumes override existing bundle volumes with the same name; new volumes are appended. |
|
|
Volume mounts override existing bundle volume mounts with the same name; new mounts are appended. |
|
|
Annotations are merged with bundle annotations. Bundle annotations take precedence on conflicts. |
|
Not supported |
The |
Configuration fields have different merge behaviors:
Completely replaces bundle values. Applies to: resources, nodeSelector
Adds to existing bundle values. Applies to: tolerations, envFrom
Overrides existing values with the same name; new values are appended. Applies to: volumes, volumeMounts
Merges with bundle values. deploymentConfig values take precedence on conflicts. Applies to: env
Merges with bundle values. Bundle takes precedence on conflicts. Applies to: annotations
Non-nil fields replace corresponding bundle fields. Applies to: affinity
envSpecifies an array of environment variable objects. Merged with existing container environment variables, with deploymentConfig values taking precedence. Each object has:
name: Environment variable name (string, required).
value: Environment variable value (string, optional).
valueFrom: Reference to a secret or config map key (object, optional).
envFromSpecifies an array of environment variable source objects merged with existing sources. Each object can reference:
configMapRef: Config map containing environment variables.
secretRef: Secret containing environment variables.
resourcesSpecifies compute resource requirements that completely replace existing bundle resource requirements. Contains:
requests: Minimum resources required.
cpu: CPU request (string, for example, "100m", "0.5").
memory: Memory request (string, for example, "128Mi", "1Gi").
limits: Maximum resources allowed.
cpu: CPU limit (string).
memory: Memory limit (string).
nodeSelectorSpecifies a map of key-value pairs for node selection. Completely replaces any existing node selector. Pods schedule only on nodes with all specified labels.
nodeSelector:
node-role.kubernetes.io/infra: ""
disktype: ssd
tolerationsSpecifies an array of toleration objects appended to existing bundle tolerations. Each toleration has:
key: Taint key (string).
operator: Operator (string: Exists, Equal).
value: Taint value (string, required if operator is Equal).
effect: Taint effect (string: NoSchedule, PreferNoSchedule, NoExecute).
tolerationSeconds: Time before pod eviction for NoExecute effect (integer).
affinitySpecifies an affinity rules object. Non-nil fields replace corresponding bundle fields. Contains:
nodeAffinity: Node label-based scheduling rules.
podAffinity: Pod label-based scheduling rules.
podAntiAffinity: Pod spreading rules across nodes.
volumesSpecifies an array of volume objects. Volumes with the same name as existing bundle volumes are overridden; new volumes are appended. All Kubernetes volume types are supported. Each volume requires a name field (string).
volumeMountsSpecifies an array of volume mount objects. Volume mounts with the same name as existing bundle volume mounts are overridden; new mounts are appended. Each mount has:
name: Volume name to mount (string, required).
mountPath: The path within the container (string, required).
readOnly: Whether the volume is read-only (boolean, optional).
subPath: A path within the volume (string, optional).
annotationsSpecifies a map of key-value pairs for deployment and pod annotations. Annotations are applied to both the deployment metadata and the pod template metadata. Annotations from deploymentConfig are merged with bundle annotations. When keys conflict, bundle annotations take precedence.
annotations:
monitoring.openshift.io/scrape: "true"
monitoring.openshift.io/port: "8080"
deploymentConfigCommon deploymentConfig issues include validation errors, configuration verification problems, and annotation conflicts that can prevent successful Operator installation.
|
OLM v1 For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
Check the Progressing condition for validation errors when installation fails:
$ oc get clusterextension <extension_name> -o jsonpath='{.status.conditions[?(@.type=="Progressing")].message}'
Common validation errors and resolutions:
Configuration includes an unsupported field. Remove unsupported fields.
Field value does not match the expected type. Verify field types match Kubernetes specifications.
Mandatory nested field is missing. Complete all required fields in nested structures.
Inspect the Operator deployment to verify applied configurations:
$ oc get deployment -n <namespace> -l olm.operatorframework.io/owner-name=<extension_name> -o yaml
Configuration locations in the deployment specification:
Environment variables: spec.template.spec.containers[].env and spec.template.spec.containers[].envFrom
Resources: spec.template.spec.containers[].resources
Node selector: spec.template.spec.nodeSelector
Tolerations: spec.template.spec.tolerations
Affinity: spec.template.spec.affinity
Volumes: spec.template.spec.volumes and spec.template.spec.containers[].volumeMounts
Annotations: metadata.annotations and spec.template.metadata.annotations
Bundle annotations take precedence over deploymentConfig annotations when keys conflict. View the installed bundle information:
$ oc get clusterextension <extension_name> -o jsonpath='{.status.install.bundle}'
This returns the bundle name and version. To see the annotations applied to the Operator pod template:
$ oc get deployment -n <namespace> -l olm.operatorframework.io/owner-name=<extension_name> -o jsonpath='{.items[0].spec.template.metadata.annotations}'
To override a bundle annotation, modify the bundle or accept the bundle value.