helm upgrade --install artifactory-ha \ --set databaseUpgradeReady=true \ --set postgresql.postgresqlPassword=${POSTGRES_PASSWORD} \ --set postgresql.postgresqlUsername=${POSTGRES_USERNAME} \ -f values.yaml \ --namespace artifactory-ha jfrog/artifactory-ha --version 107.24.3
Always check upgrade_notes first for any major version jump.
It’s recommended to upgrade the chart version when you are upgrading Artifactory to a version that comes default to a new chart version.
Note:
1. We are no longer passing in license information as this is an upgrade.
2. databaseUpgradeReady flag is only needed when you are using a bundled postgresql chart. This is to force you to take cautions and check if any unwanted property change is introduced to the bundled database. Consider using the --dry-run option to check if there’s any unexpected change introduced to the bundled postgresql db.
3. If you are upgrading from a chart version (< 4.x.x) that has postgresql.image.tag of 9.x or 10.x or 12.x, make sure to pass the current postgresql.image.tag and set databaseUpgradeReady=true