elegant-angle-39183
06/30/2022, 12:22 PMpre-install, pre-upgrade
hook and at the moment of fresh deployment it runs before the postgres deployment and obviously fails. That results in failure of whole deployment.
The workaround that we use so far is to start deployment without Kratos migration and then run helm upgrade
enabling the migration. This is the only manual process in our deployment process and it's a bit frustrating.
One of the options could be to run kratos-migrate
as an Kratos init container instead of pre-install
hook.
I would be happy do submit a PR but would like to hear you thoughts on that first.elegant-angle-39183
07/07/2022, 1:11 PM