Skip to content

Commit be54561

Browse files
Update assumptions on run bundle-upgrade to include a scenario (#4968)
Signed-off-by: rashmigottipati <[email protected]>
1 parent c7401c7 commit be54561

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

website/content/en/docs/olm-integration/testing-deployment.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,12 @@ Let's look at the anatomy of the `run packagemanifests` configuration model:
118118

119119
`operator-sdk run bundle-upgrade` assumes OLM is already installed and running on your
120120
cluster and that the Operator has a valid [bundle][bundle-format]. It also assumes that
121-
the previous version of the Operator was deployed on the cluster using `run bundle` command
122-
or traditionally via OLM. See the [CLI overview][doc-cli-overview] for commands to work
123-
with an OLM installation and generate a bundle.
121+
the previous version of the Operator was either deployed on the cluster using `run bundle`
122+
command or traditionally via OLM. Another assumption of this command is that the newer operator bundle
123+
should not exist in the index image, if the previous version of the operator bundle was installed
124+
traditionally using OLM. This will cause the registry pod to fail as the bundle is already added to the
125+
index that provides package and csv. See the [CLI overview][doc-cli-overview] for commands to work with
126+
an OLM installation and generate a bundle.
124127

125128
```
126129
operator-sdk run bundle-upgrade <bundle-image> [--kubeconfig=] [--namespace=] [--timeout=]

0 commit comments

Comments
 (0)