CrunchyData / postgres-operator-client

Apache License 2.0
15 stars 13 forks source link

Require a Postgres version when creating a PostgresCluster #73

Closed tjmoore4 closed 1 year ago

tjmoore4 commented 1 year ago

This change adds a new flag 'pg-major-version' to the 'create postgrescluster' command to allow a specific Postgres version to be used for the PostgresCluster. The new flag is required and does not default to a particular version. As before, the image used by the cluster will be pulled from the corresponding 'RELATED_IMAGE' value set in the environment.

KUTTL test updates are also included, along with a bump to Postgres 15 and a timeout adjustment.

Finally, as a separate commit, this PR improves error printing behavior and ensure a backup annotation race condition won't happen in faster test environments.

Issue: PGO-446