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

[common] Allowing annotations on persistent volume claims #135

Open
ytsurk opened this issue Oct 8, 2024 · 0 comments · May be fixed by #136
Open

[common] Allowing annotations on persistent volume claims #135

ytsurk opened this issue Oct 8, 2024 · 0 comments · May be fixed by #136
Labels
enhancement New feature or request

Comments

@ytsurk
Copy link

ytsurk commented Oct 8, 2024

In my kubernetes yaml I want to be able to add helm resource polices on pvcs, see
https://helm.sh/docs/howto/charts_tips_and_tricks/#tell-helm-not-to-uninstall-a-resource

With this I can make sure my pvc stays alive when I uninstall a chart.

Is your feature request related to a problem? Please describe.
I once lost important data after uninstalling a chart.

Describe the solution you'd like
I want to be able to add the annotation
helm.sh/resource-policy: keep
on a pvc.

Describe alternatives you've considered
I thought of making separate charts for pvcs, but still, they can be uninstalled.

Additional context
I got the information that you had issues with stale and obsolete pvcs.
The idea with this annotation is to set it, where really important data is stored, and persistence shall survive the chart.
Such a pvc needs manual deletion with a kube-ctl command.

@ytsurk ytsurk added the enhancement New feature or request label Oct 8, 2024
@ytsurk ytsurk changed the title [{chart-name}] adding annotations to persistant volume claims [common] Allowing annotations on persistent volume claims Oct 8, 2024
@ytsurk ytsurk linked a pull request Oct 8, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant