dragonflydb / dragonflydb/dragonfly-operator

pvc not removed when the Dragonfly instance is deleted.

Open
#139 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.