zalando / postgres-operator

Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
https://postgres-operator.readthedocs.io/
MIT License
4.37k stars 980 forks source link

Integrate Spilo image with Patroni version 4 #2802

Open idanovinda opened 2 days ago

idanovinda commented 2 days ago

New Spilo with Patroni 4.x integration: https://github.com/zalando/spilo/pull/1050

This PR enhances operator to support Patroni 4.x while retaining compatibility with existing clusters by making the new role label configurable. The role terminology has changed from "master" to "primary". By default, Spilo will use the same value as before. But to allow flexibility in label configurations, we need to ensure that the role label are configurable.

This is achieved by adding configurable parameters:

zalando-robot commented 2 days ago