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

feat(policy): Add http protocol configuration #13721

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sfleen
Copy link
Contributor

@sfleen sfleen commented Feb 26, 2025

This adds "http" and "kubernetes.io/h2c" as a valid values for service port appProtocol. Continuation of #13660.

@sfleen sfleen force-pushed the sfleen/protocol-detect-http1 branch from 41cc8f5 to 7a18c94 Compare February 27, 2025 14:14
@sfleen sfleen marked this pull request as ready for review February 27, 2025 14:20
@sfleen sfleen requested a review from a team as a code owner February 27, 2025 14:20
@@ -57,7 +63,7 @@ func serviceName(n string) string {

func TestAppProtocolCalledByServiceTarget(t *testing.T) {
ctx := context.Background()
TestHelper.WithDataPlaneNamespace(ctx, "appprotocol-called-by-service-name-test", map[string]string{}, t, func(t *testing.T, appProtocolNs string) {
TestHelper.WithDataPlaneNamespace(ctx, "appProtocol-called-by-service-name-test", map[string]string{}, t, func(t *testing.T, appProtocolNs string) {
Copy link
Member

Choose a reason for hiding this comment

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

this is causing test failures--namespaces need to be lowercase

@sfleen sfleen force-pushed the sfleen/protocol-detect-http1 branch from 7a18c94 to 485529d Compare February 27, 2025 21:19
This adds `"http"` and `"kubernetes.io/h2c"` as a valid values for service port `appProtocol`.

Signed-off-by: Scott Fleener <[email protected]>
@sfleen sfleen force-pushed the sfleen/protocol-detect-http1 branch from 485529d to a096b0b Compare February 27, 2025 21:19
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