You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
This guide will show you how to upgrade Stash operator. Here, we are going to show how to update the license and how to upgrade between two Stash versions.
Stash support updating license without requiring any re-installation or restart. Stash creates a Secret named <helm release name>-license
with the license file. You just need to update the Secret. The changes will propagate automatically to the operator and it will use the updated license going forward.
Follow the below instructions to update the license:
$ helm upgrade stash-enterprise -n kube-system appscode/stash-enterprise \
--reuse-values \
--set-file license=/path/to/new/license.txt
$ helm upgrade stash-enterprise appscode/stash-enterprise \
--reuse-values \
--set-file license=/path/to/new/license.txt
$ helm template stash-enterprise appscode/stash-enterprise \
--set-file license=/path/to/new/license.txt \
--show-only templates/license.yaml \
--no-hooks | kubectl apply -f -
Stash uses two different binaries for Community edition and Enterprise edition. So, it is not possible to upgrade between the Community edition and Enterprise edition without re-installation. However, it is possible to re-install Stash without losing the existing backup resources.
Follow the below instructions to re-install Stash:
If you are upgrading Stash to a patch release, please reapply the installation instructions. That will upgrade the operator pod to the new version and fix any RBAC issues.
If you are upgrading from 0.9.x
which did not use license verification to new v2020.x.x
, you have to first uninstall the old version. Then, you have to re-install the new version.
If you are upgrading from 0.9.x
to v2020.x.x
Community edition, please note that following features are only available in Enterprise edition:
If you are using any Stash addons, you might need to update the Task
name in your BackupConfiguration
to comply with the new naming scheme of the Function
and Task
.