-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
The DragonflyDB operator leaves around the PVCs when a user deletes the Dragonfly resource. This is because when it deletes the StatefulSet, Kubernetes leaves the PVCs as the persistentVolumeClaimRetentionPolicy field of the StatefulSet defaults to Retain
Can you please expose the ability to set this to Delete on both whenDeleted
and whenScaled
? The default can still be Retain but it would be nice to be able to set it to avoid having to write logic to clean up PVCs.
This functionality used to be behind a feature gate, but it's in GA as of 1.32 so no reason not to expose/support it, its not going anywhere.
iyuroch
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed