From 9bedf9709a6c2f836ccdc00cc6c583934c4a8398 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 28 Sep 2022 06:08:45 -0700 Subject: [PATCH] Fix update license instructions Signed-off-by: Tamal Saha --- docs/setup/upgrade/index.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/setup/upgrade/index.md b/docs/setup/upgrade/index.md index c6f1837db..4c5c039a1 100644 --- a/docs/setup/upgrade/index.md +++ b/docs/setup/upgrade/index.md @@ -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= \ --namespace voyager \ --reuse-values \ --set-file license=/path/to/new/license.txt @@ -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= \ --namespace voyager --create-namespace \ --set cleaner.skip=true \ --set-file license=/path/to/new/license.txt | kubectl apply -f -