piraeusdatastore / piraeus

High Available Datastore for Kubernetes
https://piraeus.io/
Apache License 2.0
429 stars 50 forks source link

docker,linstor: include migration script for k8s DB #143

Closed WanzenBug closed 1 year ago

WanzenBug commented 1 year ago

We want to be able to run DB migrations for LINSTOR without having to start the full LINSTOR container. For this purpose, we add a new command to the entrypoint script, that:

This command can be used as part of an init container in k8s.