-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
quarkus-kubernetes generated Ingress broken in 2.0.0.CR3 #18007
Comments
/cc @geoand |
@iocanel sounds like a dekorate issue, right? |
Seems so |
I fixed that on decorate side and will proceed with a release ASAP |
Thanks! |
Yes |
There is something that nevertheless we must think about as currently, ingress proposes 2 API top of kubernetes
So, how will it be possible for a user to specify which API version they will be interested to use like the |
Hi @iocanel what Quarkus version should we see this fix in? |
@edeandrea yes, it is marked for backport, so it should be in the next 2.0.x release |
Thanks! |
(cherry picked from commit ce3fbf6)
Describe the bug
When using the
quarkus-kubernetes
extension, the generation of theIngress
whenquarkus.kubernetes.ingress.expose=true
is broken in2.0.0.CR3
. It works fine in1.13.7.Final
.To Reproduce
I'm attaching a reproducer project which was created using the Quarkus Kubernetes Guide. When running
./mvnw clean package
with the reproducer project, theIngress
that gets generated insidetarget/kubernetes/kubernetes.yml
looks likeWhen trying to deploy this to OpenShift/Kubernetes (via
kubectl apply -f target/kubernetes/kubernetes.yml
), this error is encountered:When switching the project back to Quarkus version
1.13.7.Final
and re-running./mvnw clean package
, the generatedIngress
looks likeIt applies fine.
If I then add a value in the
quarkus.kubernetes.ingress.host
property, in2.0.0.CR3
theIngress
looks likewhich is still invalid when trying to apply it:
Reproducer project:
kubernetes-quickstart.zip
Configuration
Environment (please complete the following information):
Output of
uname -a
orver
Darwin edeandre-mac 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
Quarkus version or git rev
1.13.7.Final
vs2.0.0.CR3
Build tool (ie. output of
mvnw --version
orgradlew --version
)The text was updated successfully, but these errors were encountered: