How rollback VIP AuthHub upgrade?
search cancel

How rollback VIP AuthHub upgrade?

book

Article ID: 271744

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

We are looking for rollback steps for VIP AuthHub

1) we deploy the previous version

or

2)  there is other option to perform roll back.

 

For now we are looking back to go to 1.0.3211 from 2.1.2 .

But this will be needed for all upcoming upgrades, we have been asked to perform rollback test in non prod environment before we upgrade VIP AuthHub in Prod environment.

Environment

Release : VIP AuthHub 2.1.2

Resolution

To rollback from 2.1.2 to 1.0.3211 the steps should include:

- Back up of the mysql operation db has to be taken before the upgrade (just a precaution)
- if at any point after the upgrade you decide to roll back to the previous version, you only need to roll back the helm version:

#get history of revisions deployed
helm history <SSP_RELEASE_NAME> -n <SSP_NAMESPACE>

#get rollback to previous (or specific revision) 
helm rollback <SSP_RELEASE_NAME> [REVISION] -n <SSP_NAMESPACE>