hasura / hasura-k8s-stack

A feature-complete Hasura stack on Kubernetes
MIT License
138 stars 26 forks source link

Rollback mechanism #9

Open chsi13 opened 3 years ago

chsi13 commented 3 years ago

How can we couple hasura rollback mechanism with kubernetes one ?

Example : I use the cli-image to have automated migrations. I bound sql migrations files and metadata yaml in configMaps.

Now what if a migration should be rollbacked? : Documentation talks about down.sql files but to do the rollback we have to use the hasura-cli tool.

So the kubernetes rollback won't solve the problem here.

Any suggestions ?