Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alpeb
Copy link
Member

@alpeb alpeb commented Dec 9, 2025

(Extracted from #14566)

When hitting pods directly at their their IPs, ports in native sidecars that were marked as opaque via the config.linkerd.io/opaque-ports annotation, weren't really being marked as opaque.

More concretely, the issue layed in the getProfile API, that was forgoing init containers when iterating over containers in this particular case.

Endpoint profile translator tests got expanded, testing for opaque ports in both init and regular containers.

…etProfile

(Extracted from #14566)

When hitting pods directly at their their IPs, ports in native sidecars
that were marked as opaque via the `config.linkerd.io/opaque-ports`
annotation, weren't really being marked as opaque.

More concretely, the issue layed in the getProfile API, that was
forgoing init containers when iterating over containers in this
particular case.

Endpoint profile translator tests got expanded, testing for opaque ports
in both init and regular containers.
@alpeb alpeb merged commit 20eeccf into main Dec 16, 2025
66 of 69 checks passed
@alpeb alpeb deleted the alpeb/nativesidecar-watcher-opaqueports branch December 16, 2025 23:44
GTRekter pushed a commit to GTRekter/linkerd2 that referenced this pull request Dec 18, 2025
…etProfile (linkerd#14791)

(Extracted from linkerd#14566)

When hitting pods directly at their their IPs, ports in native sidecars
that were marked as opaque via the `config.linkerd.io/opaque-ports`
annotation, weren't really being marked as opaque.

More concretely, the issue layed in the getProfile API, that was
forgoing init containers when iterating over containers in this
particular case.

Endpoint profile translator tests got expanded, testing for opaque ports
in both init and regular containers.

Signed-off-by: Ivan Porta <[email protected]>
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.

3 participants