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

feat: keep PVCs when uninstalling helm chart #555

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

Leptopoda
Copy link
Member

Pull Request

Description of the change

Keep nextcloud PVCs when uninstalling the helm chart

Benefits

Most helm charts keep PVCs on uninstall. The current nextcloud approach is unexpected and thus may lead to data loss.
Learned that the hard way 😅

Possible drawbacks

None that I'm aware of.

Applicable issues

Additional information

Checklist

@Leptopoda Leptopoda requested a review from jessebot April 10, 2024 19:00
@provokateurin
Copy link
Member

Duplicate of #473

@provokateurin provokateurin marked this as a duplicate of #473 Apr 11, 2024
@provokateurin provokateurin reopened this Apr 11, 2024
@provokateurin
Copy link
Member

Ok let's go with this PR because the other PR is stale...

@provokateurin provokateurin marked this as not a duplicate of #473 Apr 11, 2024
@Leptopoda Leptopoda force-pushed the feat/keep_pvcs_on_uninstall branch from 91800de to 54f10b8 Compare April 11, 2024 08:04
@Leptopoda Leptopoda requested a review from provokateurin April 11, 2024 08:04
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation should match the resulting indentation

charts/nextcloud/templates/nextcloud-data-pvc.yaml Outdated Show resolved Hide resolved
charts/nextcloud/templates/nextcloud-pvc.yaml Outdated Show resolved Hide resolved
@Leptopoda Leptopoda force-pushed the feat/keep_pvcs_on_uninstall branch from 54f10b8 to f168fad Compare April 11, 2024 08:10
@Leptopoda Leptopoda force-pushed the feat/keep_pvcs_on_uninstall branch from f168fad to d5e757c Compare April 11, 2024 08:10
@Leptopoda Leptopoda requested a review from provokateurin April 11, 2024 08:11
@provokateurin provokateurin merged commit d220198 into nextcloud:main Apr 11, 2024
2 checks passed
@Leptopoda Leptopoda deleted the feat/keep_pvcs_on_uninstall branch April 11, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PVC gets deleted with release
4 participants