Skip to content

Commit

Permalink
Fix update license instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Sep 28, 2022
1 parent 9de7fb4 commit 9bedf97
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/setup/upgrade/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ Follow the below instructions to update the license:
#### Using Helm 3

```bash
helm upgrade voyager-operator appscode/voyager \
# detect current version
helm ls -A | grep kubedb

# update license key keeping the current version
helm upgrade voyager-operator appscode/voyager --version=<cur_version> \
--namespace voyager \
--reuse-values \
--set-file license=/path/to/new/license.txt
Expand All @@ -150,7 +154,11 @@ helm upgrade voyager-operator appscode/voyager \
#### Using YAML (with helm 3)

```bash
helm template voyager appscode/voyager \
# detect current version
helm ls -A | grep kubedb

# update license key keeping the current version
helm template voyager appscode/voyager --version=<cur_version> \
--namespace voyager --create-namespace \
--set cleaner.skip=true \
--set-file license=/path/to/new/license.txt | kubectl apply -f -
Expand Down

0 comments on commit 9bedf97

Please sign in to comment.