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 -