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

Delete Namespace: block for replicated namespace #6994

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexshtin
Copy link
Member

@alexshtin alexshtin commented Dec 14, 2024

What changed?

Delete Namespace: block for replicated namespace.

Why?

Disable namespace deletion if namespace is replicate because:

  • If namespace is passive in the current cluster, then WF executions will keep coming from
    the active cluster and namespace will never be deleted (ReclaimResourcesWorkflow will fail).
  • If namespace is active in the current cluster, then it technically can be deleted (and
    in this case it will be deleted from this cluster only because delete operation is not replicated),
    but this is confusing for the users, as they might expect that namespace is deleted from all clusters.

How did you test it?

Added unit and functional tests.

Potential risks

Replicated namespaces can't be deleted anymore and must be disconnected first.

Documentation

No.

Is hotfix candidate?

No.

@alexshtin alexshtin requested a review from a team as a code owner December 14, 2024 02:10
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.

1 participant