1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

OCPBUGS#42398: Add the service account spec and to Upgrade edge docs

This commit is contained in:
Michael Ryan Peter
2024-09-25 18:20:39 -04:00
committed by openshift-cherrypick-robot
parent 88f6798b5d
commit fa45072dfa
3 changed files with 10 additions and 0 deletions

View File

@@ -55,3 +55,4 @@ include::modules/olmv1-forcing-an-update-or-rollback.adoc[leveloffset=+1]
[role="_additional-resources"]
.Additional resources
* xref:../../extensions/ce/upgrade-edges.adoc#olmv1-version-range-support_upgrade-edges[Support for version ranges]
// after #82245 merges, add an xref to _Creating a service account to manage cluster extensions_

View File

@@ -29,6 +29,8 @@ metadata:
spec:
packageName: openshift-pipelines-operator-rh
installNamespace: <namespace_name>
serviceAccount:
name: <service_account>
channel: latest <1>
----
<1> Installs the latest release that can be resolved from the specified channel. Updates to the channel are automatically installed.
@@ -47,6 +49,8 @@ metadata:
spec:
packageName: openshift-pipelines-operator-rh
installNamespace: <namespace_name>
serviceAccount:
name: <service_account>
version: "1.11.1" <1>
----
<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.
@@ -63,6 +67,8 @@ metadata:
spec:
packageName: openshift-pipelines-operator-rh
installNamespace: <namespace_name>
serviceAccount:
name: <service_account>
version: ">1.11.1" <1>
----
<1> Specifies that the desired version range is greater than version `1.11.1`. For more information, see "Support for version ranges".

View File

@@ -18,6 +18,7 @@ You must verify the consequences of forcing a manual update or rollback. Failure
* You have a catalog installed.
* You have an Operator or extension installed.
* You have created a service account and assigned enough role-based access controls (RBAC) to install, update, and manage the extension you want to install. For more information, see _Creating a service account_.
.Procedure
@@ -33,6 +34,8 @@ metadata:
spec:
packageName: <package_name> <2>
installNamespace: <namespace_name>
serviceAccount:
name: <service_account>
version: <version> <3>
upgradeConstraintPolicy: Ignore <4>
----