feat(provisioner): ContourDeployment loadBalancerSourceRanges and loadBalancerClass - #7665
Open
VedantMadane wants to merge 3 commits into
Conversation
VedantMadane
requested review from
sunjayBhatia and
tsaarni
and removed request for
a team
August 9, 2026 15:15
…lass on ContourDeployment Allow ContourDeployment.spec.envoy.networkPublishing to configure the Envoy Service LoadBalancer fields Service.spec.loadBalancerSourceRanges and Service.spec.loadBalancerClass so Gateway provisioner users can restrict source IPs and select a load balancer implementation. Fixes projectcontour#7334 Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
Add unreleased changelog for projectcontour#7665 and regenerate CRDs, example manifests, and API reference docs so check-generate passes. Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
VedantMadane
force-pushed
the
feat/contourdeployment-lb-source-ranges-class-7334
branch
from
August 18, 2026 15:39
1b726e3 to
96edf5e
Compare
VedantMadane
added a commit
to VedantMadane/contour
that referenced
this pull request
Aug 18, 2026
Add unreleased changelog for projectcontour#7665 and regenerate CRDs, example manifests, and API reference docs so check-generate passes. Signed-off-by: Vedant Madane <vedantnm@gmail.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7665 +/- ##
==========================================
- Coverage 82.35% 82.31% -0.05%
==========================================
Files 131 131
Lines 15915 15930 +15
==========================================
+ Hits 13107 13112 +5
- Misses 2520 2526 +6
- Partials 288 292 +4
🚀 New features to boost your workflow:
|
Add unit coverage for ContourDeployment networkPublishing LB fields through equality change detection, DesiredEnvoyService (LB and ClusterIP ignore paths), and gateway controller copy into the Envoy Service. Improves codecov/patch on the ContourDeployment LB feature. Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
VedantMadane
force-pushed
the
feat/contourdeployment-lb-source-ranges-class-7334
branch
from
August 22, 2026 13:23
42fb60a to
74297e0
Compare
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.
Summary
Adds
loadBalancerSourceRangesandloadBalancerClasstoContourDeployment.spec.envoy.networkPublishingso the Gateway provisioner can set the corresponding Envoy Service fields when publishing as a LoadBalancer.Fixes #7334
Motivation
When using Contour Gateway Provisioner with a custom
ContourDeployment, there was no way to configure:Service.spec.loadBalancerSourceRanges(restrict source IPs)Service.spec.loadBalancerClass(select LB implementation)Changes
ContourDeployment/NetworkPublishing): new optional fieldsLoadBalancerServiceTestDesiredEnvoyServiceLoadBalancerFieldsExample