-
Notifications
You must be signed in to change notification settings - Fork 480
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 #184: IngressEnricher seems to be broken #213
Conversation
Codecov Report
@@ Coverage Diff @@
## master #213 +/- ##
============================================
+ Coverage 27.40% 28.11% +0.71%
- Complexity 1669 1689 +20
============================================
Files 353 353
Lines 18310 18202 -108
Branches 2781 2761 -20
============================================
+ Hits 5017 5117 +100
+ Misses 12729 12486 -243
- Partials 564 599 +35
Continue to review full report at Codecov.
|
...e-kit/enricher/generic/src/main/java/org/eclipse/jkube/enricher/generic/IngressEnricher.java
Outdated
Show resolved
Hide resolved
...e-kit/enricher/generic/src/main/java/org/eclipse/jkube/enricher/generic/IngressEnricher.java
Outdated
Show resolved
Hide resolved
...richer/generic/src/main/java/org/eclipse/jkube/enricher/generic/openshift/RouteEnricher.java
Outdated
Show resolved
Hide resolved
withHost(routeDomainPostfix.isEmpty() ? null : routeDomainPostfix). | ||
endSpec(); | ||
|
||
// removing `expose : true` label from metadata. |
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.
What does this imply?
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 it's about removing expose=true
labels added by ExposeEnricher
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.
Yes, I see that. But what does that expose=true label > ExposeEnricher do?
I think it something fabric8 only related (hence deprecated) but I may be wrong
https://blog.fabric8.io/additional-kubernetes-controllers-from-fabric8-you-can-use-with-your-microservice-3126a2c4c132
https://github.com/jenkins-x/exposecontroller
...s-maven-plugin/plugin/src/main/java/org/eclipse/jkube/maven/plugin/mojo/build/ApplyMojo.java
Show resolved
Hide resolved
...s-maven-plugin/plugin/src/main/java/org/eclipse/jkube/maven/plugin/mojo/build/ApplyMojo.java
Show resolved
Hide resolved
jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/api/util/Constants.java
Outdated
Show resolved
Hide resolved
SonarCloud Quality Gate failed. 0 Bugs 57.1% Coverage The version of Java (1.8.0_131) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11. |
Fix #184
Ported PR fabric8io/fabric8-maven-plugin#1730