Skip to content

Commit 8f766fc

Browse files
Merge pull request #77639 from michaelryanpeter/ocpbugs-35724-installNamespace-olmv1
OCPBUGS#3574: Add `spec.installNamespace` field to example CRs
2 parents c69f5d9 + e9a20bf commit 8f766fc

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

modules/olmv1-about-target-versions.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ metadata:
2727
name: pipelines-operator
2828
spec:
2929
packageName: openshift-pipelines-operator-rh
30+
installNamespace: <namespace_name>
3031
channel: latest <1>
3132
----
3233
<1> Installs the latest release that can be resolved from the specified channel. Updates to the channel are automatically installed.
@@ -44,7 +45,8 @@ metadata:
4445
name: pipelines-operator
4546
spec:
4647
packageName: openshift-pipelines-operator-rh
47-
version: 1.11.1 <1>
48+
installNamespace: <namespace_name>
49+
version: "1.11.1" <1>
4850
----
4951
<1> Specifies the target version. If you want to update the version of the Operator or extension that is installed, you must manually update this field the CR to the desired target version.
5052

@@ -59,7 +61,8 @@ metadata:
5961
name: pipelines-operator
6062
spec:
6163
packageName: openshift-pipelines-operator-rh
62-
version: >1.11.1 <1>
64+
installNamespace: <namespace_name>
65+
version: ">1.11.1" <1>
6366
----
6467
<1> Specifies that the desired version range is greater than version `1.11.1`. For more information, see "Support for version ranges".
6568

modules/olmv1-clusterextension-api.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ metadata:
2525
name: <operator_name>
2626
spec:
2727
packageName: <package_name>
28+
installNamespace: <namespace_name>
2829
channel: <channel_name>
2930
version: <version_number>
30-
----
31+
----

modules/olmv1-forcing-an-update-or-rollback.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ metadata:
3232
name: <operator_name> <1>
3333
spec:
3434
packageName: <package_name> <2>
35+
installNamespace: <namespace_name>
3536
version: <version> <3>
3637
upgradeConstraintPolicy: Ignore <4>
3738
----

modules/olmv1-version-range-comparisons.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ metadata:
4646
name: pipelines-operator
4747
spec:
4848
packageName: openshift-pipelines-operator-rh
49+
installNamespace: <namespace_name>
4950
version: ">=1.11, <1.13"
5051
----
5152

0 commit comments

Comments
 (0)