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

Ingress: add Envoy host with port rule #3246

Merged

Conversation

pbchekin
Copy link
Contributor

@pbchekin pbchekin commented Jun 29, 2020

Description

Gloo in ingress mode should add two Envoy rules: first for the Ingress host, second for the Ingress port and port.
This fixes bug #3244

Context

Gloo in ingress mode adds an Envoy rule that matches a host specified in
Ingress, but does not add a rule that matches a host and a port (80 or
443). This creates an issue for proxying GRPC services, because most of
the standard GRPC clients (grpcurl, Go, Python) use GRPC endpoint for
:authority header, if authority is not explicitly specified.

Checklist:

Gloo in ingress mode adds an Envoy rule that matches a host specified in
Ingress, but does not add a rule that matches a host and a port (80 or
443). This creates an issue for proxying GRPC services, because most of
the standard GRPC clients (grpcurl, Go, Python) use GRPC endpoint for
:authority header, if authority is not explicitly specified.

This fixes bug solo-io#3244
@solo-build-bot
Copy link

Waiting for approval from someone in the solo-io org to start testing.

@solo-changelog-bot
Copy link

Issues linked to changelog:
#3244

@kdorosh
Copy link
Contributor

kdorosh commented Jun 30, 2020

/test

@kdorosh
Copy link
Contributor

kdorosh commented Jun 30, 2020

/kick mix of valid and invalid virtual services regression test flake https://console.cloud.google.com/cloud-build/builds/a13c32e3-fddf-4263-b28a-e931933d9f87;step=14?project=solo-public opened #3247 to track

Copy link
Contributor

@kdorosh kdorosh left a comment

Choose a reason for hiding this comment

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

thanks for the contribution 🎉

@soloio-bulldozer soloio-bulldozer bot merged commit 81f5a35 into solo-io:master Jun 30, 2020
@pbchekin pbchekin deleted the add-ingress-envoy-host-port-rule branch June 30, 2020 19:56
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.

Ingress controller does not add a rule that matches the host and the port
2 participants