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
<1> Specify the catalog's image in the `spec.source.image` field.
40
41
<2> If your catalog is hosted on a secure registry, such as `registry.redhat.io`, you must create a pull secret scoped to the `openshift-catalog` namespace.
42
+
<3> Specify the interval for polling the remote registry for newer image digests. The default value is `24h`. Valid units include seconds (`s`), minutes (`m`), and and hours (`h`). To disable polling, set a zero value, such as `0s`.
41
43
42
44
. Add the catalog to your cluster by running the following command:
<1> Specify the interval for polling the remote registry for newer image digests. The default value is `24h`. Valid units include seconds (`s`), minutes (`m`), and hours (`h`). To disable polling, set a zero value, such as `0s`.
<1> Specifies that the desired version range is greater than version `1.11.1` and less than `1.13`. For more information, see "Support for version ranges" and "Version comparison strings".
178
+
179
+
** If you want to update to the latest version that can be resolved from a channel, edit your CR similar to the following example:
Copy file name to clipboardExpand all lines: modules/olmv1-version-range-comparisons.adoc
+2-2
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
[id="olmv1-version-range-comparisons_{context}"]
8
8
= Version comparison strings
9
9
10
-
You can define a version range by adding a comparison string to the `spec.version` field in an Operator or extension's custom resource (CR). A comparison string is a list of space- or comma-separated values and one or more comparison operators. You can add another comparison string by including an `OR`, or double vertical bar (`||`), comparison operator between the strings.
10
+
You can define a version range by adding a comparison string to the `spec.version` field in an Operator or extension's custom resource (CR). A comparison string is a list of space- or comma-separated values and one or more comparison operators enclosed in double quotation marks (`"`). You can add another comparison string by including an `OR`, or double vertical bar (`||`), comparison operator between the strings.
11
11
12
12
.Basic comparisons
13
13
[options="header"]
@@ -46,7 +46,7 @@ metadata:
46
46
name: pipelines-operator
47
47
spec:
48
48
packageName: openshift-pipelines-operator-rh
49
-
version: >=1.11, <1.13
49
+
version: ">=1.11, <1.13"
50
50
----
51
51
52
52
You can use wildcard characters in all types of comparison strings. {olmv1} accepts `x`, `X`, and asterisks (`*`) as wildcard characters. When you use a wildcard character with the equal sign (`=`) comparison operator, you define a comparison at the patch or minor version level.
* xref:../../operators/olm_v1/olmv1-installing-an-operator-from-a-catalog.adoc#olmv1-version-range-support_olmv1-installing-operator[Support for version ranges]
* xref:../../operators/olm_v1/olmv1-installing-an-operator-from-a-catalog.adoc#olmv1-about-target-versions_olmv1-installing-operator[Example custom resources (CRs) that specify a target version]
0 commit comments