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 when a gitRepo is deleted #2373

Merged
merged 2 commits into from
May 7, 2024

Conversation

rubhanazeem
Copy link
Contributor

@rubhanazeem rubhanazeem commented Apr 25, 2024

Refers to #1564

This PR introduces a new attribute spec.deleteNamespace: boolean in gitRepo to delete the namespace when gitRepo is deleted. This namespace is created by fleet to deploy the services.

Thanks @weyfonk ❤️

@rubhanazeem rubhanazeem requested a review from a team as a code owner April 25, 2024 15:47
Copy link
Contributor

@weyfonk weyfonk left a comment

Choose a reason for hiding this comment

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

Looking good, thanks for this 💪
Leaving a few comments, happy to discuss.

@rubhanazeem rubhanazeem force-pushed the gitrepo-remove-namespace branch 4 times, most recently from c853a2f to d1c9796 Compare April 30, 2024 12:51
@rubhanazeem rubhanazeem force-pushed the gitrepo-remove-namespace branch from d1c9796 to bc45622 Compare May 6, 2024 09:19
Introduce deleteNamespace to cleanup the namespace created to deploy
resources
@rubhanazeem rubhanazeem force-pushed the gitrepo-remove-namespace branch from bc45622 to 1ff1997 Compare May 7, 2024 09:20
@rubhanazeem rubhanazeem force-pushed the gitrepo-remove-namespace branch from 1ff1997 to 1e01aff Compare May 7, 2024 10:33
@rubhanazeem rubhanazeem force-pushed the gitrepo-remove-namespace branch from 1e01aff to 3a02999 Compare May 7, 2024 11:30
@rubhanazeem rubhanazeem merged commit e51e937 into rancher:main May 7, 2024
8 checks passed
@rubhanazeem rubhanazeem deleted the gitrepo-remove-namespace branch May 7, 2024 13:24
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