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

Add the 'NamespaceFinalizer' to remove the namespace from the team after deleting it #9

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

anishamidi
Copy link
Collaborator

@anishamidi anishamidi commented Mar 26, 2024

The operator adds finalizers to namespaces labeled 'snappcloud.io/team' and watches these namespaces. If a user deletes any of these namespaces, it will remove the namespace from the team object and remove the finalizer.

controllers/team_controller.go Show resolved Hide resolved
controllers/team_controller.go Outdated Show resolved Hide resolved
controllers/team_controller.go Outdated Show resolved Hide resolved
controllers/team_controller.go Outdated Show resolved Hide resolved
controllers/team_controller.go Outdated Show resolved Hide resolved
controllers/team_controller.go Outdated Show resolved Hide resolved
@anishamidi anishamidi changed the title add namespace finilzer to remove namespace from team after deleteing … add namespace finilzer Apr 3, 2024
@anishamidi anishamidi changed the title add namespace finilzer Add the 'NamespaceFinalizer' to remove the namespace from the team after deleting it Apr 3, 2024
@anishamidi anishamidi merged commit 3e21eac into main Apr 3, 2024
2 of 3 checks passed
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