snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

quarkus.kubernetes.annotations gets not applied to ingress #123

Closed snowdrop-bot closed 4 years ago

snowdrop-bot commented 4 years ago

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:

  1. Bootstrap a new Quarkus project using the kubernetes extension
  2. 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
  1. Call maven mvn package
  2. Open target/kubernetes/kubernetes.xml file to see the generated resources.

Environment (please complete the following information):


https://github.com/quarkusio/quarkus/issues/10260


$upstream:10260$