Skip to content

🌱 [release/v0.7] Allow creation of fleetworkspace for existing namespace when annotation is present and set to true #938

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

Open
wants to merge 1 commit into
base: release/v0.7
Choose a base branch
from

Conversation

yiannistri
Copy link
Contributor

Backport of #932 to release/v0.7

This PR is part of a fix for rancher/turtles#1329

Problem

When a fleetworkspace gets created, the webhook code in this repo also creates a corresponding namespace. This presents a problem when there is a need to create a fleetworkspace for an existing namespace as the webhook does not currently allow this. This PR adds an annotation that allows a fleetworkspace to be created for an existing namespace when this annotation is present.

Solution

When a specific annotation is present and set to true for an existing namespace, then the webhook allows the creation of a fleetworkspace resource.

CheckList

  • Test
  • Docs

@yiannistri yiannistri changed the title 🌱 Allow creation of fleetworkspace for existing namespace when annotation is present and set to true 🌱 [release/v0.7] Allow creation of fleetworkspace for existing namespace when annotation is present and set to true Jun 9, 2025
@yiannistri yiannistri marked this pull request as ready for review June 9, 2025 09:18
@yiannistri yiannistri requested a review from a team as a code owner June 9, 2025 09:18
@yiannistri
Copy link
Contributor Author

@crobby when you get a chance, I would appreciate a review, thanks!

@yiannistri
Copy link
Contributor Author

@crobby can you please review ?

Copy link
Contributor

@crobby crobby left a comment

Choose a reason for hiding this comment

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

lgtm. Sorry for the delay.

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