I'm trying to add this env variable to a quarkus project in the corresponding application.properties
:
quarkus.kubernetes.remote-debug.enabled=true
quarkus.kubernetes.env.vars.JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
However, the resulting kubernetes file generated is wrong:
- name: JAVA_TOOL_OPTIONS
value: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
I can't find the solution (although I feel it is trivial)
I'm trying to add this env variable to a quarkus project in the corresponding application.properties
:
quarkus.kubernetes.remote-debug.enabled=true
quarkus.kubernetes.env.vars.JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
However, the resulting kubernetes file generated is wrong:
- name: JAVA_TOOL_OPTIONS
value: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
I can't find the solution (although I feel it is trivial)
I am not able to reproduce the issue. Here's what I am trying:
quarkus create app hello-quarkus -x kubernetes
I copy and paste the properties from your post and then run
./mvnw clean install
I check the generated files under target/kubernetes/kubernetes.yaml|json and I am seeing:
- name: JAVA_TOOL_OPTIONS
value: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"