Skip to content

Commit 6f5736c

Browse files
authored
Merge pull request #33721 from adellape/upgradebundle_48
2 parents 28127a5 + a9f89c0 commit 6f5736c

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

modules/olm-installing-operators-from-operatorhub.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ifeval::["{context}" == "olm-installing-operators-in-namespace"]
1212
endif::[]
1313

1414
[id="olm-installing-operators-from-operatorhub_{context}"]
15-
= Operator installation with OperatorHub
15+
= About Operator installation with OperatorHub
1616

1717
OperatorHub is a user interface for discovering Operators; it works in conjunction with Operator Lifecycle Manager (OLM), which installs and manages Operators on a cluster.
1818

modules/osdk-bundle-upgrade-olm.adoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,19 @@ The `run bundle-upgrade` subcommand automates triggering an installed Operator t
1111

1212
.Prerequisites
1313

14-
- Operator installed with OLM by using the `run bundle` subcommand
14+
- Operator installed with OLM either by using the `run bundle` subcommand or with traditional OLM installation
1515
- A bundle image that represents a later version of the installed Operator
1616

1717
.Procedure
1818

19-
. If your Operator has not already been installed on OLM with the `run bundle` subcommand, install the earlier version of your Operator by specifying the bundle image. For example, for a Memcached Operator:
19+
. If your Operator has not already been installed with OLM, install the earlier version either by using the `run bundle` subcommand or with traditional OLM installation.
20+
+
21+
[NOTE]
22+
====
23+
If the earlier version of the bundle was installed traditionally using OLM, the newer bundle that you intend to upgrade to must not exist in the index image referenced by the catalog source. Otherwise, running the `run bundle-upgrade` subcommand will cause the registry pod to fail because the newer bundle is already referenced by the index that provides the package and cluster service version (CSV).
24+
====
25+
+
26+
For example, you can use the following `run bundle` subcommand for a Memcached Operator by specifying the earlier bundle image:
2027
+
2128
[source,terminal]
2229
----

operators/operator_sdk/osdk-working-bundle-images.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ include::modules/osdk-publish-catalog.adoc[leveloffset=+1]
1515
* See xref:../../operators/admin/olm-managing-custom-catalogs.adoc#olm-managing-custom-catalogs-bundle-format[Custom catalogs using the bundle format] for details on direct usage of the `opm` CLI for more advanced use cases.
1616

1717
include::modules/osdk-bundle-upgrade-olm.adoc[leveloffset=+1]
18+
.Additional resources
19+
20+
* xref:../../operators/admin/olm-adding-operators-to-cluster.adoc#olm-adding-operators-to-a-cluster[Traditional Operator installation with OLM]
1821

1922
[id="osdk-working-bundle-images-additional-resources"]
2023
== Additional resources

0 commit comments

Comments
 (0)