pg-spot-ops / pg-spot-operator

Maintains stateful Postgres on Spot VMs
Other
2 stars 0 forks source link

Add a flag to run the setup and return only the connect string #19

Open kmoppel opened 1 week ago

kmoppel commented 1 week ago

So that one can use the operator in typical DevOps pipelines, a la:

docker run --rm pgspotops/pg-spot-operator -e PGSO_CONNSTR_ONLY=y | continue_with_pipeline | docker run --rm pgspotops/pg-spot-operator -e TEARDOWN=y