Virtalis Reach Help

Updating the Virtalis Reach Licence Key

Overview

This section describes how to replace the currently installed licence key with a new one.

This section assumes that you have already installed Virtalis Reach and your shell is in the directory containing the files that were downloaded during the installation, this is usually stored in the home directory, for example “/home/root/Reach/k8s”

Set Up Variables

Substitute and export the following variables:

export REACH_NAMESPACE=<name of kubernetes namespace Virtalis Reach is deployed in>


Load previous configuration:

. ./load-install-config.sh


Substitute and export the following variables:

export reach_licence__key=<reach licence xml snippet>
export reach_licence__signature=<reach licence signature>

Update Secrets

Run a script:

./create-secrets.sh
kubectl get secret reach-install-config \
-n $REACH_NAMESPACE -o json | jq -r '.data.reach_licence__key="'\
$(echo -n $reach_licence__key | base64 -w 0 | tr -d '\n')'"' \
| kubectl apply -f -
kubectl get secret reach-install-config \
-n $REACH_NAMESPACE -o json | jq -r '.data.reach_licence__signature="'\
$(echo -n $reach_licence__signature | base64 -w 0 | tr -d '\n')'"' \
| kubectl apply -f -


Gracefully restart any running pods for the two services below by doing a rolling restart:

kubectl rollout restart deploy artifact-access-api -n $REACH_NAMESPACE
kubectl rollout restart deploy project-management-api -n $REACH_NAMESPACE


Print page
2021.4
October 21, 2021 9:45

Need more?