postgres-operator
postgres-operator copied to clipboard
fix: Use Cascading Deletion in a Cluster
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
How does this solution ensures that the users and databases are cleaned up in the PostgreSQL server?