zalando / postgres-operator

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

Enable slot and publication deletion when stream application is removed #2684

Closed idanovinda closed 4 months ago

idanovinda commented 4 months ago

Follow up on https://github.com/zalando/postgres-operator/pull/2563

The current behaviour of our operator for the stream section allows us to create FES resources. During the creation, the postgres-operator will create FES resources, publications, and replication slots. However, during deletion (when user drop the stream section from the manifest), operator only removes the FES resources, while publications and replications are not deleted. This results in need for manual deletion by someone who has administrator roles.

Changes:

FxKu commented 4 months ago

:+1:

idanovinda commented 4 months ago

👍