Skip to content

Conversation

@YaoZengzeng
Copy link
Member

What type of PR is this?

/kind enhancement

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #1037

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Signed-off-by: YaoZengzeng <yaozengzeng@huawei.com>
@kmesh-bot kmesh-bot added the kind/enhancement New feature or request label Nov 13, 2024
@codecov
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 48.02%. Comparing base (c24ac00) to head (b928cf0).
Report is 77 commits behind head on main.

Files with missing lines Patch % Lines
pkg/controller/workload/workload_processor.go 0.00% 3 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ
pkg/controller/workload/workload_processor.go 61.94% <0.00%> (-0.51%) ⬇️

... and 12 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d508040...b928cf0. Read the comment docs.

Signed-off-by: YaoZengzeng <yaozengzeng@huawei.com>
} else if port.TargetPort == 0 {
// NOTE: Target port could be unset in servicen entry, in which case it should
// be consistent with the Service Port.
newValue.TargetPort[i] = nets.ConvertPortToBigEndian(port.ServicePort)
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Looks this is set since istio 1.23

Copy link
Member Author

Choose a reason for hiding this comment

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

oh, I tested it with istio 1.22

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hzxuzhonghu
Copy link
Member

/lgtm

@kmesh-bot kmesh-bot added the lgtm label Nov 14, 2024
@kmesh-bot kmesh-bot merged commit cb05690 into kmesh-net:main Nov 14, 2024
9 checks passed
lec-bit pushed a commit to lec-bit/kmesh that referenced this pull request Nov 16, 2024
add e2e test for service entry with inlined workload entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ServiceEntry doesn't work in Kmesh

3 participants