-
Notifications
You must be signed in to change notification settings - Fork 523
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
fix (jkube-kit/enricher) : Add hint for using jkube.domain
if createExternalUrls
is used without domain (#1439)
#1980
Conversation
…teExternalUrls` is used without domain (eclipse-jkube#1439) Currently value for IngressRule's `.host` field depends either on `HOST` enricher configuration or `jkube.domain` configuration. If none of these options are provided, we set `.spec.defaultBackend`. Add a hint to suggest specifying `jkube.domain` in case no value for host is found. Signed-off-by: Rohan Kumar <[email protected]>
Eclipse JKube CI ReportStarted new GH workflow run for #1980 (2023-01-05T07:15:32Z) ⚙️ JKube E2E Tests (3792208047)
|
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## master #1980 +/- ##
============================================
+ Coverage 53.90% 53.93% +0.02%
- Complexity 4037 4044 +7
============================================
Files 480 480
Lines 21084 21102 +18
Branches 2821 2825 +4
============================================
+ Hits 11366 11382 +16
Misses 8555 8555
- Partials 1163 1165 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I faced this issue yesterday while adapting the Apache Tomee quickstart (#1972). We might want to improve the |
Description
Fixes #1439
Currently, value for IngressRule's
.host
field depends either onHOST
enricher configuration orjkube.domain
configuration. If none of these options are provided, we set.spec.defaultBackend
.jkube.domain
in case no value for host is found.This hint will appear if user forgets to specify host via XML/Groovy DSL configuration or
jkube.domain
/jkube.enricher.jkube-ingress.host
properties. IngressEnricher doesn't do anything when an Ingress fragment is provided. I'm not sure whether we should check fragment too.Signed-off-by: Rohan Kumar [email protected]
Type of change
test, version modification, documentation, etc.)
Checklist