feat: add extraEnv support to envoy-gateway controller deployment#8733
Merged
arkodg merged 2 commits intoenvoyproxy:mainfrom Apr 22, 2026
Merged
feat: add extraEnv support to envoy-gateway controller deployment#8733arkodg merged 2 commits intoenvoyproxy:mainfrom
arkodg merged 2 commits intoenvoyproxy:mainfrom
Conversation
Add deployment.envoyGateway.extraEnv to the gateway-helm chart values, allowing operators to inject additional environment variables into the controller container. The controller deployment template currently hardcodes two env vars (ENVOY_GATEWAY_NAMESPACE and KUBERNETES_CLUSTER_DOMAIN) with no way to add more. This makes it impossible to configure behavior controlled by standard environment variables (e.g. OTEL_METRICS_EXEMPLAR_FILTER, GOGC, GOMEMLIMIT) without patching the deployment out-of-band. Fixes envoyproxy#8732 Signed-off-by: Giri Kuncoro <girikuncoro@gmail.com>
✅ Deploy Preview for cerulean-figolla-1f9435 canceled.
|
b587f3b to
e32e58e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8733 +/- ##
==========================================
- Coverage 74.41% 73.68% -0.74%
==========================================
Files 245 245
Lines 38977 48803 +9826
==========================================
+ Hits 29006 35959 +6953
- Misses 7967 10845 +2878
+ Partials 2004 1999 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
38acc96 to
af3239d
Compare
Contributor
Author
|
The coverage test fails, might not be relevant to my change / flaky |
Contributor
|
thanks, can you also add a test in https://github.com/envoyproxy/gateway/tree/main/test/helm |
af3239d to
c23b844
Compare
Signed-off-by: Giri Kuncoro <girikuncoro@gmail.com>
c23b844 to
b7ff35a
Compare
Contributor
Author
|
@arkodg thank you for the feedback! I've added the tests, hopefully this would be sufficient |
zirain
approved these changes
Apr 22, 2026
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
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.
What
Add
deployment.envoyGateway.extraEnvto thegateway-helmchart, allowing operators to inject additional environment variables into the controller container.Usage Example
Why
The controller deployment template hardcodes two env vars (
ENVOY_GATEWAY_NAMESPACEandKUBERNETES_CLUSTER_DOMAIN) with no mechanism to add more. This makes it impossible to configure behavior controlled by standard environment variables (e.g.OTEL_METRICS_EXEMPLAR_FILTER,GOGC,GOMEMLIMIT) without patching the deployment out-of-band.Fixes #8732