Hey all, I'd like to discuss an issue with a helm ...
# talk-kratos
e
Hey all, I'd like to discuss an issue with a helm chart. We have a big umbrella helm chart that deploys all components of our product including postgres DB. In that configuration, Kratos migration is blocking the deployment. It is configured as a
pre-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.
Here is the PR https://github.com/ory/k8s/pull/451 in case someone faces the same issue