Skip to content

Commit

Permalink
📖[Docs] How-to: Pin Version and Disable Automatic Updates (#1221)
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 9c6d4ce commit de0a41e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/drafts/how-to-pin-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## How-to: Version Pin and Disable Automatic Updates

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).

Example:

```yaml
apiVersion: olm.operatorframework.io/v1alpha1
kind: ClusterExtension
metadata:
name: argocd
spec:
source:
sourceType: Catalog
catalog:
packageName: argocd-operator
version: 0.6.0 # Pin argocd-operator to v0.6.0
install:
namespace: argocd
serviceAccount:
name: argocd-installer
```
For more information on SemVer version ranges see [version ranges](version-ranges.md)

0 comments on commit de0a41e

Please sign in to comment.