Upgrade

Upgrading TrilioVault via OpenShift and Upstream Kubernetes is discussed in this section.

RedHat OpenShift

OpenShift updates are delivered directly through the Operator Lifecycle Manager framework. When install the TrilioVault Operator the cluster-admin can specify how to update approval strategy- either manual or automatic. Manual subscription will require to manually approve the new update that is available. Automatic subscription will automatically update the application when an update is available.

OpenShift Approval Strategy

Upstream Kubernetes

  1. Find the helm repository for TrilioVault Manager using following command:

prafull@EMPID18004:~$ helm repo list
NAME URL
signtest http://127.0.0.1:43961
tvm http://charts.k8strilio.net/trilio-stable/k8s-triliovault-operator

2. Update your repo to receive latest updates:

prafull@EMPID18004:~$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "tvm" chart repository
Update Complete. ⎈ Happy Helming!⎈

3. Update your upstream operator:

prafull@EMPID18004:~$ helm ls
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
trilio-operator default 1 2021-01-13 18:50:12.554889335 +0530 IST deployed k8s-triliovault-operator-v2.0.1 v2.0.1
prafull@EMPID18004:~$ helm upgrade trilio-operator tvm/k8s-triliovault-operator
Release "trilio-operator" has been upgraded. Happy Helming!
NAME: trilio-operator
LAST DEPLOYED: Wed Jan 13 18:51:28 2021
NAMESPACE: default
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
To verify that TrilioVault Operator has started, run:
kubectl --namespace=default get deployments -l "release=trilio-operator"
prafull@EMPID18004:~$ helm ls
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
trilio-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 providetrilioVaultAppVersion: v2.0.2 and apply the CR.

This will upgrade TVK to version 2.0.2.