Since direct upgrade from 2.0.4 to 2.1.0 is not supported, uninstall the 2.0.x version and then reinstall the 2.1.0 version. The only difference from a regular reinstall is that you are not deleting the backups.
Uninstall the TVK instance
Uninstall the TVM for Upstream environments / Uninstall the Operator from OLM environments.
Ensure there are no TVK pods running on the cluster.
Delete the backups one by one and delete the finalizer block to avoid it being stuck in a 'deleting' state. This will remove the local references to the backup without touching the actual backup in the target.
A quick article on deleting multiple finalizers together
OpenShift updates are delivered directly through the Operator Lifecycle Manager framework. When installing the TrilioVault Operator the cluster-admin can specify how to update via an approval strategy- either manual or automatic. Manual subscription will require manually approving the new update that is available. Automatic subscription will automatically update the application when an update is available.
Find the helm repository for TrilioVault Manager using the following command:
[email protected]:~$ helm repo listNAME URLsigntest http://127.0.0.1:43961tvm http://charts.k8strilio.net/trilio-stable/k8s-triliovault-operator
2. Update your repo to receive the latest updates:
[email protected]:~$ helm repo updateHang tight while we grab the latest from your chart repositories......Successfully got an update from the "tvm" chart repositoryUpdate Complete. ⎈ Happy Helming!⎈
3. Update your upstream operator:
[email protected]:~$ helm lsNAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSIONtrilio-operator default 1 2021-01-13 18:50:12.554889335 +0530 IST deployed k8s-triliovault-operator-v2.0.1 v2.0.1[email protected]:~$ helm upgrade trilio-operator tvm/k8s-triliovault-operatorRelease "trilio-operator" has been upgraded. Happy Helming!NAME: trilio-operatorLAST DEPLOYED: Wed Jan 13 18:51:28 2021NAMESPACE: defaultSTATUS: deployedREVISION: 2TEST SUITE: NoneNOTES:To verify that TrilioVault Operator has started, run:kubectl --namespace=default get deployments -l "release=trilio-operator"[email protected]:~$ helm lsNAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSIONtrilio-operator default 2 2021-01-13 18:51:28.709468861 +0530 IST deployed k8s-triliovault-operator-v2.0.2 v2.0.2
Update the TVM CR and provide
trilioVaultAppVersion: v2.0.3 and apply the CR.
This will upgrade TVK to version 2.0.3.