-
Notifications
You must be signed in to change notification settings - Fork 550
feat(ingress) - Missing IngressClassName in NetworkingV1IngressGenerator #3811
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: master
Are you sure you want to change the base?
feat(ingress) - Missing IngressClassName in NetworkingV1IngressGenerator #3811
Conversation
Eclipse JKube CI ReportStarted new GH workflow run for #3811 (2025-12-03T11:38:07Z) ⚙️ JKube E2E Tests (19857235832)
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3811 +/- ##
=============================================
+ Coverage 59.36% 72.03% +12.67%
- Complexity 4586 4805 +219
=============================================
Files 500 489 -11
Lines 21211 19180 -2031
Branches 2830 2562 -268
=============================================
+ Hits 12591 13817 +1226
+ Misses 7370 4160 -3210
+ Partials 1250 1203 -47 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@ash-thakur-rh please add an explanation of how this would work now /cc @rgordill |
Done! Documentation is also updated to reflect the changes done. |
|



Description
Fixes #3775
This PR adds support for configuring the ingressClassName field in Kubernetes Ingress resources generated by Eclipse JKube.
In Kubernetes environments with multiple Ingress controllers (e.g., nginx, traefik, HAProxy), there was no way to specify which Ingress controller should handle a particular Ingress resource. The ingressClassName field, introduced in Kubernetes Networking API v1, is the standard way to select a specific IngressClass.
Users can now configure ingressClassName in three ways(All require
kube.createExternalUrlsto be enabled/true):The ingressClassName property can also be supplied based on profile or environment in maven or gradle projects based on below property:
jkube.enricher.jkube-ingress.ingressClassNameType of change
test, version modification, documentation, etc.)
Checklist