Upgrade
This section provides instructions to upgrade an existing Eggplant DAI deployment.
Upgrading Eggplant DAI from 4.x to 5.x
When upgrading from version 4.x to version 5.x, you should prepare your values file by exporting the settings used by your existing installation:
You'll need to edit the file to change the image tag for the upgrade version and to add the new parameters it requires so that your file reflects the example presented above:
- Add your service token and jwt secret into the global section. As these parameters are new for version 5.x, they'll be supplied to you by Eggplant.
When upgrading, also add the following additional setting to provide your RabbitMQ credentials for the current installation:
rabbitmq:
password: '<rabbitmq password>'
erlangCookie: '<rabbitmq cookie>'
To obtain the values for these parameters:
Before upgrading, we recommend taking a snapshot or backup of your database. The process of backing up your database itself depends on your local environment. Although this is optional, it's a recommended, step.
If you are upgrading from 4.0.0 then you will need to apply a change to your database. Using the information in the externaldatabase block in your values file, update this setting: