Skip to content

Commit de0a41e

Browse files
perdasilvaPer Goncalves da Silva
andauthored
📖[Docs] How-to: Pin Version and Disable Automatic Updates (#1221)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent 9c6d4ce commit de0a41e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/drafts/how-to-pin-version.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## How-to: Version Pin and Disable Automatic Updates
2+
3+
To disable automatic updates, and pin the version of an extension, set `version` in the Catalog source to a specific version (e.g. 1.2.3).
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: 0.6.0 # Pin argocd-operator to v0.6.0
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)