-
Notifications
You must be signed in to change notification settings - Fork 610
feat: Add EnvoyProxyTemplate for global Envoy Proxy defaults #7698
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
Open
mgs255
wants to merge
1
commit into
envoyproxy:main
Choose a base branch
from
PulseInnovations:allow-provide-default-proxy-image
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: Add EnvoyProxyTemplate for global Envoy Proxy defaults #7698
mgs255
wants to merge
1
commit into
envoyproxy:main
from
PulseInnovations:allow-provide-default-proxy-image
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7da24bf to
02beef5
Compare
zirain
reviewed
Dec 8, 2025
fd2a520 to
0ae8e1d
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7698 +/- ##
==========================================
- Coverage 72.40% 72.35% -0.06%
==========================================
Files 234 235 +1
Lines 34562 34609 +47
==========================================
+ Hits 25026 25041 +15
- Misses 7748 7772 +24
- Partials 1788 1796 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
zirain
reviewed
Dec 11, 2025
arkodg
reviewed
Dec 11, 2025
arkodg
reviewed
Dec 11, 2025
0ae8e1d to
804ff4b
Compare
23b261c to
ff220ab
Compare
4b9211d to
e5283b6
Compare
Introduce EnvoyProxyTemplate in EnvoyGateway provider configuration to define default settings for all Envoy Proxy deployments. This establishes a 3-level hierarchy: Template → GatewayClass → Gateway, where settings at each level override those from lower levels, with Gateway settings having the highest precedence. All non scalar fields (env vars, volumes, volumeMounts, annotations etc) are now merged rather than replaced, allowing settings to be combined across all three levels. - Add EnvoyProxyTemplate field to EnvoyGatewayKubernetesProvider API - Add EnvoyProxyTemplate field to Translator for template access - Create MergeEnvoyProxyConfigs to support 3-level merge hierarchy - Update IsMergeGatewaysEnabled to be aware of the template. - Add strategic merge patch directives to enable array field merging - Add table-driven tests in testdata/envoyproxy-merge/ Fixes: envoyproxy#4764 Signed-off-by: Michael Sommerville <msommerville@gmail.com>
e5283b6 to
c198efe
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce EnvoyProxyTemplate in EnvoyGateway provider configuration to define default settings for all Envoy Proxy deployments. This establishes a 3-level hierarchy: Template → GatewayClass → Gateway, where settings at each level override those from lower levels, with Gateway settings having the highest precedence.
All non scalar fields (env vars, volumes, volumeMounts, annotations etc) are now merged rather than replaced, allowing settings to be combined across all three levels.
Fixes: #4764