Repository navigation
Conversation
…xyImage Source the gateway-helm envoyProxy image default from the DefaultEnvoyProxyImage constant at chart generation time, so the Envoy image appears in rendered manifests and cannot drift from the controller default. Inline config.envoyGateway.envoyProxy settings now take precedence over the global image, and an inline envoyDaemonSet receives the image instead of an extra envoyDeployment. Fixes envoyproxy#9144 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Alexander Lindeskär <lindeskar@users.noreply.github.com>
✅ Deploy Preview for cerulean-figolla-1f9435 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hi maintainers! Anything we can do to move this forward? |
|
I will close this now, but can gladly reopen if the issue gets attention once more |
Hi @lindeskar Could you please also address it in this PR? Thanks! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10101 +/- ##
==========================================
+ Coverage 81.34% 82.19% +0.84%
==========================================
Files 265 277 +12
Lines 41035 44014 +2979
==========================================
+ Hits 33381 36178 +2797
- Misses 7653 7835 +182
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Alexander Lindeskär <lindeskar@users.noreply.github.com>
…erging EnvoyProxy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Alexander Lindeskär <lindeskar@users.noreply.github.com>
|
Thanks @zhaohuabing, done in a600e79.
|
What this PR does / why we need it:
Makes the managed Envoy Proxy image visible in rendered gateway-helm manifests, so image mirroring and air-gapped tooling that scans
helm template/ ArgoCD output can discover it.global.images.envoyProxy.imagenow defaults toDefaultEnvoyProxyImage, substituted at chart generation time the same way${GatewayImage}is. The chart default follows the controller default automatically, with no extra manual release step.Setting the default exposed two issues in the existing helper, both fixed here:
config.envoyGateway.envoyProxyand mutated.Valuesin place, so an inline Envoy Proxy image was silently replaced. The helper now emits only chart-derived defaults, and the ConfigMap's existing merge lets inline settings take precedence, matching the ratelimit and control plane images.envoyDeployment. Whenconfig.envoyGateway.envoyProxyconfiguresenvoyDaemonSet, the image now lands there instead.Because the default is non-empty,
global.imageRegistryandglobal.imagePullSecretsnow also apply to the Envoy Proxy image, as the values docs already describe. This is called out as a breaking change.global.images.envoyProxy.image: ""restores the previous behavior.A GatewayClass or Gateway
EnvoyProxywithmergeTypeset could select a different workload kind than a less specific configuration, and the merge then kept bothenvoyDeploymentandenvoyDaemonSet, so both workloads were created.MergeEnvoyProxyConfigsnow converts the less specific workload to the selected kind before merging. Itscontainer,podandnamecarry over, so a mirrored default image still applies. Settings that only fit the previous kind are dropped, including itspatchand, when switching to a DaemonSet,envoyHpa.Which issue(s) this PR fixes:
Fixes #9144
PR Checklist
git commit -s). See DCO: Sign your work.EnvoyProxySpec.mergeTypedescribing the workload-kind merge behavior requested in review; no schema change.make generate gen-check,make lint, and the unit-test/coverage build pass. (Flaky e2e failures are not considered breakages, butgen-check,lint, and coverage MUST pass.)envoyDaemonSet, and opting out with an empty image; addedMergeEnvoyProxyConfigscases for workload-kind conversion in both directions and at both merge steps.RELEASING.md.new_features/,breaking_changes/andbug_fixes/fragments.make gen-checkand committed the result if API/helm charts/modules changed.release-notes/current/breaking_changes/.🤖 Generated with Claude Code