dragonflydb / dragonflydb/dragonfly-operator
pvc not removed when the Dragonfly instance is deleted.
Open
@Pothulapati is already working on this.
Since Dec 13, 2023.
- Dominant language
- Go
- Stars
- 357
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
Deleting a DragonFly instance should remove the PVC created by the operator.
If the user has sensible data on it, they should be attached to PV with a `persistentVolumeReclaimPolicy: Retain` so it should still be safe to delete the `PVC`.
Step to reproduce:
* Install operator + a DragonFly instance with snapshot over PVC.
* Delete the Dragonfly instance.
The operator properly cleanup the StatefulSet, but it does not delete the PVC.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.