Open cmarchand opened 1 month ago
/cc @geoand (kubernetes), @iocanel (kubernetes)
It seems that other properties are not processed either ; if I add
quarkus.kubernetes.ingress.rules.1.host=localhost
quarkus.kubernetes.ingress.rules.1.path=/game(/|$)(.*)
quarkus.kubernetes.ingress.rules.1.path-type=ImplementationSpecific
kubernetes.yml contains the second rule :
spec:
rules:
- http:
paths:
- backend:
service:
name: guess-game
port:
name: http
path: /game(/|$)(.*)
pathType: Prefix
- host: localhost
http:
paths:
- backend:
service:
name: guess-game
port:
name: http
path: /game(/|$)(.*)
pathType: ImplementationSpecific
But kind.yml
does not contain it :
spec:
rules:
- http:
paths:
- backend:
service:
name: guess-game
port:
name: http
path: /game(/|$)(.*)
pathType: Prefix
Describe the bug
Having dependencies on
quarkus-kubernetes
andquarkus-kind
, and defining an Ingress annotation, annotation is not present intarget/kubernetes/kind.yml
Expected behavior
kind.yml
should contain ingress annotation, askubernetes.yml
contains itActual behavior
kind.yml
does not contains ingress annotation.How to Reproduce?
Add dependencies to
quarkus-kubernetes
and toquakus-kind
:Expose ingress and define an ingress annotation in
application.properties
Build application, with
mvn package
Check
target/kubernetes/kubernetes.xml
, it contains ingress annotationCheck
target/kubernetes/kind.xml
, it does not contains ingress annotationOutput of
uname -a
orver
Darwin paris-105.local 22.6.0 Darwin Kernel Version 22.6.0: Mon Apr 22 20:54:28 PDT 2024; root:xnu-8796.141.3.705.2~1/RELEASE_X86_64 x86_64
Output of
java -version
java version "21" 2023-09-19 LTS Java(TM) SE Runtime Environment (build 21+35-LTS-2513) Java HotSpot(TM) 64-Bit Server VM (build 21+35-LTS-2513, mixed mode, sharing)
Quarkus version or git rev
3.12.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)$ mvn -v Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f) Maven home: /Users/cmarchand/applications/apache-maven-3.9.3 Java version: 21, vendor: Oracle Corporation, runtime: /Users/cmarchand/applications/java/jdk-21.jdk/Contents/Home Default locale: fr_FR, platform encoding: UTF-8 OS name: "mac os x", version: "13.6.7", arch: "x86_64", family: "mac"
Additional information
No response