How to reuse the same PV / PVC when we restart the cluster or Cassandra datacenter

This is regarding how to overcome issue reported in K8SSAND-1486(Awaiting solution). When we restart the Datacenter / Cluster( to fix the reported issue) then we are losing the VPC and PV.

We need a way to reuse/re-assign the old PV to new PVC or retain the PVC(Adding Volume Claim template to statefulset) so that it will re-assigned when we restart the cluster.

Little Background : We are using helm charts to Spin up clusters and following are the versions(v2) we are using

  • Cass-operator - 1.10.4
  • K8ssandra operator - 1.0.1
  • K8ssandra - 1.5.1