Skip to content

Commit

Permalink
📖 Update extension upgrade tutorial doc (#1469)
Browse files Browse the repository at this point in the history
* Update extension upgrade tutorial doc

With the addition of the CRD Upgrade Safety preflight check, our
existing example of upgrading argocd from 0.5.0 to 0.6.0 no longer
serves as a good example. This commit changes the example to use an
update from 0.2.0 to 0.2.1 which no longer fails the CRD Upgrade check,
and also doesn't violate our restriction on automatic upgrades between
minor versions with a major version of zero.

Signed-off-by: Tayler Geiger <[email protected]>

* Add example manifest for ArgoCD v0.2.0

For our examples to work, we need to use a very specific version of our
example operator. The upgrade from 0.2.0 to 0.2.1 functions properly for
our purposes, but we don't want to affect the sample operator in
config/samples so we are adding the example manifest for 0.2.0 directly
to this tutorial.

Signed-off-by: Tayler Geiger <[email protected]>

---------

Signed-off-by: Tayler Geiger <[email protected]>
  • Loading branch information
trgeiger authored Nov 19, 2024
1 parent e5820ae commit 6995bc4
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 115 deletions.
3 changes: 1 addition & 2 deletions docs/getting-started/olmv1_getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-c
To upgrade the installed extension, update the version field in the ClusterExtension resource. Note that
there must be CRD compatibility between the versions being upgraded, and the target version must be
compatible with OLM v1. More information on CRD upgrade safety can be found [here](../concepts/crd-upgrade-safety.md),
compatible with OLM v1. More information on CRD upgrade safety can be found [here](../concepts/crd-upgrade-safety.md),
and on the extension upgrade process [here](../tutorials/upgrade-extension.md).
and more information on the extension upgrade process can be found [here](../tutorials/upgrade-extension.md).

```bash
# Update to v0.11.0
Expand Down
Loading

0 comments on commit 6995bc4

Please sign in to comment.