Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows control of volumn reclaim behaviour for SeataServer #16

Open
ptyin opened this issue Jan 30, 2024 · 0 comments · May be fixed by #21
Open

Allows control of volumn reclaim behaviour for SeataServer #16

ptyin opened this issue Jan 30, 2024 · 0 comments · May be fixed by #21
Assignees
Labels
good first issue Good for newcomers

Comments

@ptyin
Copy link
Member

ptyin commented Jan 30, 2024

The current behaviour when deleting a SeataServer CR is to preserve the volume claimed by associated Statefulset. It would be nice to add an option for user to control the volumn recalim behaviour.

My idea is to add a new volumeReclaimPolicy property inside store structure, and make valid values ("Delete", "Retain"). "Retain" stands for current implementation, whereas "Delete" stands for delete associated volumns when deleting the SeataServer CR. It is recommended to use Kubernetes finalizer to implement the "Delete" policy.

@ptyin ptyin added the good first issue Good for newcomers label Feb 19, 2024
@ptyin ptyin self-assigned this Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant