Update license key

Steps to update the license key for the Disaster Recovery Operator

There is no need to reinstall the operator when updating the license key.

1. Update the license key

Update the Kubernetes Secret that stores the license key with the new license:

kubectl -n astronetes-disaster-recovery-operator apply -f new-license-key.yaml
oc -n astronetes-disaster-recovery-operator apply -f new-license-key.yaml

2. Restart the Disaster Recovery Operator

Restart the Disaster Recovery Operator Deployment to apply the new license:

kubectl -n astronetes-disaster-recovery-operator rollout restart deployment disaster-recovery-operator
oc -n astronetes-disaster-recovery-operator rollout restart deployment disaster-recovery-operator

3. Wait for the Pods restart

Wait a couple of minutes until all the Disaster Recovery Operator Pods are restarted with the new license.