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

Backport of Fix configuration merging for implicit tproxy upstreams #16007

Merged

Conversation

hashi-derek
Copy link
Member

Manual 1.14 backport of #16000

Fix configuration merging for implicit tproxy upstreams.

Change the merging logic so that the wildcard upstream has correct proxy-defaults
and service-defaults values combined into it. It did not previously merge all fields,
and the wildcard upstream did not exist unless service-defaults existed (it ignored
proxy-defaults, essentially).

Change the way we fetch upstream configuration in the xDS layer so that it falls back
to the wildcard when no matching upstream is found. This is what allows implicit peer
upstreams to have the correct "merged" config.

Change proxycfg to always watch local mesh gateway endpoints whenever a peer upstream
is found. This simplifies the logic so that we do not have to inspect the "merged"
configuration on peer upstreams to extract the mesh gateway mode.
@github-actions github-actions bot added the theme/envoy/xds Related to Envoy support label Jan 18, 2023
@hashi-derek hashi-derek marked this pull request as ready for review January 18, 2023 20:37
@hashi-derek hashi-derek merged commit 0379dab into release/1.14.x Jan 19, 2023
@hashi-derek hashi-derek deleted the derekm/NET-1959/fix-tproxy-upstreams-1.14 branch January 19, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/envoy/xds Related to Envoy support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants