Describe the bug
I'm using the kubernetes extension to deploy to kubernetes.
I'm setting expose to true to get an ingress resource generated (target/kubernetes/kubernetes.xml).
My annotation quarkus.kubernetes.annotations."kubernetes.io/ingress.class"=addon-http-application-routing gets not applied to the generated ingress but to all other resources.
Expected behavior
Labels and annotations gets applied to ingress too.
Actual behavior
Can not apply annotations via application.properties to generated ingress resource.
To Reproduce
Steps to reproduce the behavior:
quarkus.kubernetes.deployment-target=kubernetes
quarkus.kubernetes.expose=true
quarkus.kubernetes.annotations."kubernetes.io/ingress.class"=addon-http-application-routing
mvn packagetarget/kubernetes/kubernetes.xml file to see the generated resources.Environment (please complete the following information):
Good catch!
I think same is true for openshifts route.
@iocanel I tried to add this in Quarkus, but ran into various issues (I wasn't sure how to properly write the Decorator), so I think it should be handled in dekorate (which is the correct approach anyway)
I think same is true for openshifts route.
Yeah, and if I'm not mistaken, I think the custom labels are also missing
Most probably the decorators are executed out of order. I'll have a look.