You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= Disabling default CatalogSource objects at a local level
8
+
9
+
You can apply persistent changes to a `CatalogSource` object, such as catalog source pods, at a local level, by disabling a default `CatalogSource` object. Consider the default configuration in situations where the default `CatalogSource` object's configuration does not meet your organization's needs. By default, if you modify fields in the `spec.grpcPodConfig` section of the `CatalogSource` object, the Marketplace Operator automatically reverts these changes.
10
+
11
+
The Marketplace Operator, `openshift-marketplace`, manages the default custom resources (CRs) of the `OperatorHub`. The `OperatorHub` manages `CatalogSource` objects.
12
+
13
+
To apply persistent changes to `CatalogSource` object, you must first disable a default `CatalogSource` object.
14
+
15
+
.Procedure
16
+
17
+
* To disable all the default `CatalogSource` objects at a local level, enter the following command:
When an Operator Lifecycle Manager (OLM) catalog source of source type `grpc` defines a `spec.image`, the Catalog Operator creates a pod that serves the defined image content. By default, this pod defines the following in its spec:
9
+
When an Operator Lifecycle Manager (OLM) catalog source of source type `grpc` defines a `spec.image`, the Catalog Operator creates a pod that serves the defined image content. By default, this pod defines the following in its specification:
10
10
11
-
* Only the `kubernetes.io/os=linux` node selector
12
-
* No priority class name
13
-
* No tolerations
11
+
* Only the `kubernetes.io/os=linux` node selector.
12
+
* The default priority class name: `system-cluster-critical`.
13
+
* No tolerations.
14
14
15
15
As an administrator, you can override these values by modifying fields in the `CatalogSource` object's optional `spec.grpcPodConfig` section.
16
16
17
+
[IMPORTANT]
18
+
====
19
+
The Marketplace Operator, `openshift-marketplace`, manages the default `OperatorHub` custom resource's (CR). This CR manages `CatalogSource` objects. If you attempt to modify fields in the `CatalogSource` object’s `spec.grpcPodConfig` section, the Marketplace Operator automatically reverts these modifications.By default, if you modify fields in the `spec.grpcPodConfig` section of the `CatalogSource` object, the Marketplace Operator automatically reverts these changes.
20
+
21
+
To apply persistent changes to `CatalogSource` object, you must first disable a default `CatalogSource` object.
22
+
====
23
+
17
24
[role="_additional-resources"]
18
25
.Additional resources
19
26
20
27
* xref:../../operators/understanding/olm/olm-understanding-olm.adoc#olm-catalogsource_olm-understanding-olm[OLM concepts and resources -> Catalog source]
0 commit comments