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

[bitnami/etcd] snapshot PVCs deleted after uninstall #30672

Open
felpasl opened this issue Nov 28, 2024 · 1 comment
Open

[bitnami/etcd] snapshot PVCs deleted after uninstall #30672

felpasl opened this issue Nov 28, 2024 · 1 comment
Assignees
Labels
etcd tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@felpasl
Copy link

felpasl commented Nov 28, 2024

Name and Version

bitnami/etcd

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. After installing etcd with disasterRecovery.enabled=true, the snapshot PVCs are created as expected to store scheduled backups.
  2. However, after uninstalling etcd from the cluster, the snapshot PVCs are deleted.
  3. The expected behavior is to maintain the snapshots for maintenance, migration, or recovery actions.

Are you using any custom parameters or values?

disasterRecovery:
enabled: true

What is the expected behavior?

after uninstalling etcd from the cluster, the snapshot PVCs are deleted, The expected behavior is to maintain the snapshots for maintenance, migration, or recovery actions.

What do you see instead?

the snapshot PVCs are deleted

Additional information

No response

@felpasl felpasl added the tech-issues The user has a technical issue about an application label Nov 28, 2024
@github-actions github-actions bot added the triage Triage is needed label Nov 28, 2024
@javsalgar javsalgar changed the title snapshot PVCs deleted after uninstall [bitnami/etcd] snapshot PVCs deleted after uninstall Nov 29, 2024
@javsalgar javsalgar added the etcd label Nov 29, 2024
@javsalgar
Copy link
Contributor

Hi!

Thank you so much for reporting. Indeed, it makes total sense that the snapshot PVC should be kept when uninstalling the release. The PVC object (snapshot-pvc.yaml) would be missing this annotation.

    helm.sh/resource-policy: keep

As you discovered the issue, would you like to submit a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
etcd tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants