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

fix: handle the deleting member cluster namespace #861

Closed
wants to merge 1 commit into from

Conversation

zhiying-lin
Copy link
Contributor

Description of your changes

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

@zhiying-lin zhiying-lin marked this pull request as draft June 24, 2024 09:10
// There is a corner case that the same member leaves and joins again in a short time.
// And garbage collector does not delete the namespace before the member joins.
resetDeletionTimestamp := currentNS.DeletionTimestamp != nil
currentNS.DeletionTimestamp = nil
Copy link
Contributor

@ryanzhang-oss ryanzhang-oss Jun 24, 2024

Choose a reason for hiding this comment

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

is this to "un"delete the NS? I am not sure k8s allows that.

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.

2 participants