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

proxy network label should be set based on pod labels, system namespa… #54513

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

hzxuzhonghu
Copy link
Member

@hzxuzhonghu hzxuzhonghu commented Jan 2, 2025

…ce labels and meshNetwork config

Please provide a description of this PR:

Fix #54381

@hzxuzhonghu hzxuzhonghu requested a review from a team as a code owner January 2, 2025 07:07
@istio-testing istio-testing added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 2, 2025
Copy link
Member

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

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

LG

@@ -286,13 +287,34 @@ func TestNewEndpointBuilderFromMetadataTopologyLabels(t *testing.T) {
},
opts: Options{ClusterID: c.ctl.cluster},
}
eb := cc.NewEndpointBuilderFromMetadata(c.proxy)
eb := newEndpointBuilderFromMetadata(cc, c.proxy)
Copy link
Member

Choose a reason for hiding this comment

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

is this test doing anything? it seems we are testing newEndpointBuilderFromMetadata but that function is now deadcode

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, i just realized it

Copy link
Member Author

Choose a reason for hiding this comment

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

Will fix

@hzxuzhonghu hzxuzhonghu added the release-notes-none Indicates a PR that does not require release notes. label Jan 6, 2025
@istio-testing istio-testing added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 6, 2025
@ramaraochavali
Copy link
Contributor

LGTM

@hzxuzhonghu hzxuzhonghu requested a review from howardjohn January 7, 2025 08:59
@istio-testing istio-testing merged commit 0e313f4 into istio:master Jan 7, 2025
27 checks passed
@hzxuzhonghu hzxuzhonghu deleted the network-label branch January 8, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible incorrect Network usage in augmentLabels
4 participants