Skip to content

Conversation

@sfleen
Copy link
Contributor

@sfleen sfleen commented Feb 14, 2025

This allows specifying that a service port is opaque via "linkerd.io/opaque" in the appProtocol field.

This also includes a fair amount of tests and test infrastructure for future appProtocol values.

@sfleen sfleen requested a review from a team as a code owner February 14, 2025 21:04
@sfleen sfleen force-pushed the protocol-detect-opaque branch 3 times, most recently from 6f03752 to 0271513 Compare February 17, 2025 14:54
@olix0r olix0r marked this pull request as draft February 17, 2025 16:55
@sfleen sfleen changed the title feat(proto-config): Add opaque protocol configuration feat(policy): Add opaque protocol configuration Feb 18, 2025
@sfleen sfleen force-pushed the protocol-detect-opaque branch 2 times, most recently from 1c010c0 to 7df91c4 Compare February 18, 2025 19:35
@sfleen sfleen marked this pull request as ready for review February 18, 2025 19:36
@sfleen sfleen force-pushed the protocol-detect-opaque branch 5 times, most recently from 2cc71b9 to 698a827 Compare February 21, 2025 13:20
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

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

Is the plan to support this in the GetProfiles codepath in the destination controller as well? Or are we deciding that ServiceProfiles are incompatible with being able to specify appProtocol?

@sfleen
Copy link
Contributor Author

sfleen commented Feb 24, 2025

Yep, that's on the roadmap for one of the later milestones. Doing it this way for now lets us make this change entirely in the policy controller while giving the proxy behavior we need in the short term.

This allows specifying that a service port is opaque via `"linkerd.io/opaque"` in the `appProtocol` field.

This also includes a fair amount of tests and test infrastructure for future `appProtocol` values.

Signed-off-by: Scott Fleener <[email protected]>
@sfleen sfleen force-pushed the protocol-detect-opaque branch from 698a827 to 6f5afad Compare February 24, 2025 22:11
@adleong adleong merged commit a2e8ddb into linkerd:main Feb 25, 2025
45 checks passed
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.

2 participants