Skip to content

Commit 9c6d4ce

Browse files
perdasilvaPer Goncalves da Silva
andauthored
📖[Docs] How-to: Z-stream Automatic Updates (#1219)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent c4470cc commit 9c6d4ce

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## How-to: Z-Stream Automatic Updates
2+
3+
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.
4+
5+
Example:
6+
7+
```yaml
8+
apiVersion: olm.operatorframework.io/v1alpha1
9+
kind: ClusterExtension
10+
metadata:
11+
name: argocd
12+
spec:
13+
source:
14+
sourceType: Catalog
15+
catalog:
16+
packageName: argocd-operator
17+
version: “~2.3" # Automatically upgrade patch releases for v2.3
18+
install:
19+
namespace: argocd
20+
serviceAccount:
21+
name: argocd-installer
22+
```
23+
24+
For more information on SemVer version ranges see [version ranges](version-ranges.md)

0 commit comments

Comments
 (0)