-
Notifications
You must be signed in to change notification settings - Fork 697
Add an option to GatewayProvisioner CRD to watch subset of namespaces #5302
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
Conversation
As discussed in person, this will need to wait for #5214, but can be lined up now by basing the branch off the other PR. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5302 +/- ##
==========================================
- Coverage 78.18% 77.73% -0.46%
==========================================
Files 138 139 +1
Lines 18480 18078 -402
==========================================
- Hits 14449 14053 -396
+ Misses 3755 3752 -3
+ Partials 276 273 -3
|
36fbbb4
to
dbc9b4f
Compare
Thanks @padlar! Once #5214 merges, we'll need to rebase this on upstream/main. This will also need:
|
I have run |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
f3a4a7a
to
2e7a9c9
Compare
Signed-off-by: Sunil Shivanand <[email protected]>
2e7a9c9
to
60f9e35
Compare
@@ -114,6 +114,10 @@ type ContourSettings struct { | |||
// Deployment describes the settings for running contour as a `Deployment`. | |||
// +optional | |||
Deployment *DeploymentSettings `json:"deployment,omitempty"` | |||
|
|||
// WatchNamespaces restricts watching contour instances to a subset of namespaces. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want the documentation here and the release note to state that this field is for limiting the namespaces the Contour instance will watch for resource updates (and not what the Gateway Provisioner will watch)
One thing I'm realizing we haven't been great about as we add more options to ContourDeployment, is keeping in mind this section from the Gateway API spec:
(ref. https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1beta1.GatewayClass) So basically, any settings from the GatewayClass/ContourDeployment should be applied at the time of creating a Gateway's Kubernetes resources, but not subsequently updated if the GatewayClass/ContourDeployment change. There is also kubernetes-sigs/gateway-api#1868 (GEP) to consider, which has recently been merged upstream but has not yet been added to the API. |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
Hey @padlar looks like we'll have to move this to the next release milestone since 1.26.0 is coming up We'll have to discuss how to handle @skriss' comment #5302 (comment) and how we want to move this one forward |
fixes #5256