Skip to content

fix(destination): Restrict Servers from affecting workloads in other namespaces#15243

Merged
adleong merged 1 commit into
mainfrom
alex/server-namespace
May 8, 2026
Merged

fix(destination): Restrict Servers from affecting workloads in other namespaces#15243
adleong merged 1 commit into
mainfrom
alex/server-namespace

Conversation

@adleong
Copy link
Copy Markdown
Member

@adleong adleong commented May 7, 2026

Fixes: #15223

Due to missing namespace checks, it was possible for a Server to affect workloads in other namespaces which matched its label selector.

We correct this by adding the missing namespace check so that Servers can only affect workloads in their own namespace.

We also consolidate some testing structs to remove duplication and facilitate adding a test for this.

…namespaces

Signed-off-by: Alex Leong <alex@buoyant.io>
@adleong adleong requested a review from a team as a code owner May 7, 2026 23:58
Copy link
Copy Markdown
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@adleong adleong merged commit 6bb3f67 into main May 8, 2026
67 of 69 checks passed
@adleong adleong deleted the alex/server-namespace branch May 8, 2026 15:58
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.

Linkerd SetToServerProtocol() cross-namespace bug

2 participants