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

EVEREST-859 | Ensure backups are deleted in foreground during clean-up #440

Merged
merged 7 commits into from
Jul 1, 2024

Conversation

mayankshah1607
Copy link
Member

@mayankshah1607 mayankshah1607 commented Jun 27, 2024

CHANGE DESCRIPTION

Problem:
EVEREST-859

When uninstalling Everest via the CLI, the DB gets deleted before the backups can be cleaned-up properly

Cause:
We're not setting the foregroundDeletion finaliser.

Solution:
Set the finalizer at the time of performing the cleanup. Currently, the finalizers are added from different places (like from the API server). With this approach, we can unify the clean-up process, so that we don't have to explicitly add finalizers from the API server.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?

Tests

  • Is an Integration test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

@mayankshah1607 mayankshah1607 merged commit 93def50 into main Jul 1, 2024
7 checks passed
@mayankshah1607 mayankshah1607 deleted the EVEREST-859 branch July 1, 2024 11:03
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.

3 participants