Skip to content

Commit

Permalink
📖[Docs] How-to: Z-stream Automatic Updates (#1219)
Browse files Browse the repository at this point in the history
Signed-off-by: Per Goncalves da Silva <[email protected]>
Co-authored-by: Per Goncalves da Silva <[email protected]>
  • Loading branch information
perdasilva and Per Goncalves da Silva authored Sep 6, 2024
1 parent c4470cc commit 9c6d4ce
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/drafts/how-to-z-stream-upgrades.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## How-to: Z-Stream Automatic Updates

To restrict automatic updates to only z-stream patches and avoid breaking changes, use the `"~"` version range operator when setting the version for the desired package in Catalog source.

Example:

```yaml
apiVersion: olm.operatorframework.io/v1alpha1
kind: ClusterExtension
metadata:
name: argocd
spec:
source:
sourceType: Catalog
catalog:
packageName: argocd-operator
version: “~2.3" # Automatically upgrade patch releases for v2.3
install:
namespace: argocd
serviceAccount:
name: argocd-installer
```
For more information on SemVer version ranges see [version ranges](version-ranges.md)

0 comments on commit 9c6d4ce

Please sign in to comment.