-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Milestone
Description
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:
- Bootstrap a new Quarkus project using the kubernetes extension
- Add the following application.properties
quarkus.kubernetes.deployment-target=kubernetes
quarkus.kubernetes.expose=true
quarkus.kubernetes.annotations."kubernetes.io/ingress.class"=addon-http-application-routing
- Call maven
mvn package - Open
target/kubernetes/kubernetes.xmlfile to see the generated resources.
Environment (please complete the following information):
- Quarkus version or git rev: 1.5.2.Final