Skip to content

Respect windows_desktop_labels for dynamic desktops#48941

Merged
probakowski merged 5 commits intomasterfrom
probakowski/dynamic-desktop-labels
Nov 15, 2024
Merged

Respect windows_desktop_labels for dynamic desktops#48941
probakowski merged 5 commits intomasterfrom
probakowski/dynamic-desktop-labels

Conversation

@probakowski
Copy link
Copy Markdown
Contributor

Similar to other resources (like DB) we should respect labels when doing CRUD operations on dynamic windows desktops

@probakowski probakowski added the no-changelog Indicates that a PR does not require a changelog entry label Nov 13, 2024
@probakowski probakowski requested a review from zmb3 November 13, 2024 22:22
@aws-amplify-us-west-2
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-48941.d3pp5qlev8mo18.amplifyapp.com

Comment thread lib/services/role.go
{"db_labels", types.KindDatabase},
{"db_service_labels", types.KindDatabaseService},
{"windows_desktop_labels", types.KindWindowsDesktop},
{"windows_desktop_labels", types.KindDynamicWindowsDesktop},
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

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?

Comment thread lib/auth/dynamicwindows/dynamicwindowsv1/service_test.go Outdated
@probakowski probakowski added this pull request to the merge queue Nov 15, 2024
Merged via the queue into master with commit 1ebf8a3 Nov 15, 2024
@probakowski probakowski deleted the probakowski/dynamic-desktop-labels branch November 15, 2024 16:20
@public-teleport-github-review-bot
Copy link
Copy Markdown

@probakowski See the table below for backport results.

Branch Result
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants