Skip to content

Feature Request: enable protection #417

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

Open
ContainerCat opened this issue May 25, 2023 · 3 comments
Open

Feature Request: enable protection #417

ContainerCat opened this issue May 25, 2023 · 3 comments
Labels
enhancement New feature or request pinned

Comments

@ContainerCat
Copy link

I am working with backup volumes in an automated environment. These volumes should never be deleted and I do not really want to "enable protection" manually every time.
Is it possible to implement this?

@github-actions
Copy link

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

@github-actions github-actions bot added the Stale label Aug 23, 2023
@erikschul
Copy link

Not stale

@github-actions github-actions bot removed the Stale label Aug 30, 2023
@jooola jooola added enhancement New feature or request pinned labels Oct 31, 2023
@lukasmetzner
Copy link
Contributor

Hi,

sorry for the long pause in communication. I wanted to ask, at which level do you expect the protection to happen? Should it prevent deletion in the Hetzner Cloud Console or in Kubernetes?

In case you want to protect your volumes against deletion in Kubernetes you can opt for:

To safeguard your volumes from deletion via the Cloud Console or Hetzner API, we could introduce a new parameter to the storage class. This parameter would ensure that the volume is created and directly afterwards protected. When a deletion is initiated in Kubernetes, we would simply disable the protection and proceed with deleting the volume. In future releases we could opt for VolumeAttributeClasses. They were introduced in Kubernetes v.1.31 as a beta feature.

Best Regards
Lukas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
None yet
Development

No branches or pull requests

4 participants