16.0 Upgrading Self Service Password Reset Helm deployment

If you have deployed Self Service Password Reset container using the helm chart, it allows you to upgrade the Self Service Password Reset containers. Helm applies the new specifications stated in the Helm chart to existing resources.

Rolling update: During the upgrade, StatefulSets manages a rolling update of the Pods. Persistent Volume Claims (PVCs) and Persistent Volumes (PVs) remains associated to their respective Pods, unless the update contains significant changes to the StatefulSet configuration that require reconfiguration or different storage.

NOTE:If StatefulSet configuration changes have an impact on volumes, the upgrade process may temporarily disrupt Pods. However, PVCs and PVs will remain bound to their original Pods, ensuring data continuity.

Perform the following steps to upgrade your deployment:

  1. Run the following command, to get a list of all the helm deployments present in your kubernetes cluster:

    helm list –A

  2. Select the appropriate Self Service Password Reset deployment release name and deployed namespace from the list. This information will be used during the upgrade.

  3. Run the following command to view history of upgrades performed on the selected Self Service Password Reset release deployment:

    helm history <release_name> --namespace <namespace>

  4. Download the latest Self Service Password Reset helm chart to the master node from the Software License and Download portal.

    For example, sspr-helm-chart-1.0.0.tgz

  5. Run the following command to unzip the Self Service Password Reset helm chart:

    tar -xzvf <latest Self Service Password Reset helm chart>

    For example,

    tar -xzvf sspr-helm-chart-1.0.0.tgz

  6. Copy all of the values from the existing Self Service Password Reset deployments values.yaml file to the latest downloaded values.yaml file, or update the new file according to your requirements.

  7. Run the following command to upgrade the deployment with the new configuration, the sample format is as follows:

    helm upgrade <release-name> <latest Self Service Password Reset helm chart> -f values.yaml

  8. To verify if all the pods are ready state after upgrade, run the following command:

    kubectl get pods -o wide --namspace <namespace>

  9. The Helm History is also updated after a successful update. Run the following command to view the updated data:

    helm history <release_name> --namespace <namespace>