-
Notifications
You must be signed in to change notification settings - Fork 114
CP/DP Split: Support configuring NodePorts #3343
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
base: change/control-data-plane-split
Are you sure you want to change the base?
Conversation
Problem: Now that the control plane provisions the NGINX Service, users can't set specific NodePorts values. Solution: Allow users to specify NodePorts in the helm chart (globally) and in the NginxProxy resource.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## change/control-data-plane-split #3343 +/- ##
===================================================================
- Coverage 89.74% 86.66% -3.09%
===================================================================
Files 109 129 +20
Lines 11150 14837 +3687
Branches 50 62 +12
===================================================================
+ Hits 10007 12858 +2851
- Misses 1083 1831 +748
- Partials 60 148 +88 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
// NodePorts are the list of NodePorts to expose on the NGINX data plane service. | ||
// Each NodePort MUST map to a Gateway listener port, otherwise it will be ignored. | ||
// The default NodePort range enforced by Kubernetes is 30000-32767. | ||
// | ||
// +optional | ||
NodePorts []NodePort `json:"nodePorts,omitempty"` |
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.
are we adding any sort of validation to enforce this range?
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.
No, because a user can change the range to be whatever they want. This is just the k8s default.
Problem: Now that the control plane provisions the NGINX Service, users can't set specific NodePorts values.
Solution: Allow users to specify NodePorts in the helm chart (globally) and in the NginxProxy resource.
Testing: Verified that NodePorts are configurable and accessible.
Closes #3240
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.