Describe the bug
If a cluster is scaled down all WAL PVCs will be terminated
To Reproduce
- Create a cluster with >= 1 replica
- Scaledown the cluster.
- All *-wal PVCs will be terminated
Expected behavior
Only the WAL PVC of the deleted replica gets terminated.
Please tell us about your environment:
- Container Image Tag: centos7-12.4-4.4.1
- PostgreSQL Version: 12.4
- Platform (Docker, Kubernetes, OpenShift): OpenShift
- Platform Version: 4.5.11