Update the Platform
The platform doesn’t update itself: you choose when to move to a new release. An update replaces Governor’s images, or its chart, with the new release’s. A rollback goes back to the previous images and restores the metadata database from the backup you took before the update.
Before you update
-
Read the release notes in the Governor changelog, and the TDK CLI changelog for the CLI. Look for changes that need action, such as renamed settings.
-
Back up the metadata database. You need the backup to roll back. See Back up the metadata database.
-
Keep your secrets. Set the same
JWT_SECRETandCREDENTIALS_ENCRYPTION_KEYafter the update. IfJWT_SECRETchanges, every user is signed out. IfCREDENTIALS_ENCRYPTION_KEYchanges, Governor can’t read the data source passwords it stores. -
Try it in a test environment first, including a rollback, if you have one.
-
Update workers too. Workers you started yourself, outside the Compose file or the chart, should move to the same release as Governor.
Choose your installation
| Installation | Steps |
|---|---|
Docker Compose, with internet access |
|
Kubernetes or OpenShift, online or offline |
|
Docker Compose, without internet access |
|
TDK CLI |
Install the new release, or change the image tag you run. See Install the TDK CLI. |