Upgrading Sentry helm chart with an external PostgreSQL database fails to migrate to latest schema definition

You should be able to run a new container, directly with the upgrade command instead of trying to start it and then doing an exec inside. This is how we do it over on the official onpremise repo.