movetokube / postgres-operator

Postgres operator for Kubernetes
MIT License
167 stars 59 forks source link

fix: Use Cascading Deletion in a Cluster #152

Open daduskacpokus opened 7 months ago

daduskacpokus commented 7 months ago

Due to custom finalizers, a situation arises when the operator deployment was removed at a time when the CR was not removed.

So let's let Kubernetes remove it all

FYI https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/#use-foreground-cascading-deletion