-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Respect windows_desktop_labels for dynamic desktops #48941
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
@@ -349,6 +349,7 @@ func validateRoleExpressions(r types.Role) error { | |||
{"db_labels", types.KindDatabase}, | |||
{"db_service_labels", types.KindDatabaseService}, | |||
{"windows_desktop_labels", types.KindWindowsDesktop}, | |||
{"windows_desktop_labels", types.KindDynamicWindowsDesktop}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since GetLabelMatchers
returns the same expression I think there's no need for this, it's just validating the same expression twice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we leave it here for consistency sake?
@probakowski See the table below for backport results.
|
Similar to other resources (like DB) we should respect labels when doing CRUD operations on dynamic windows desktops