How to set Map configuration properties using Environment Variables ? #30353
-
Hi everybody. There are several Map configuration properties and, according to documentation (https://quarkus.io/guides/all-config), they can be set using Environment Variables. I am trying to use QUARKUS_KUBERNETES_ENV_VARS. Yet, setting an environment variable like this :
doesn't seem to have any effect on my kubernates.yml. At last, if I set (inside application.properties)
then the configuration is honored and I can see the environment variable inside my kubernates.yml. This seems to happen with other Map configs, for example : quarkus.container-image.labels-labels / QUARKUS_CONTAINER_IMAGE_LABELS Other (non Map) environment variables are correctly working. Can somebody confirm this is supposed to work ? I already have different workarounds in mind, but I'd rather have this work just like this, so please help. Thank you in advance ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
/cc @Sgitario (kubernetes), @geoand (jib,kubernetes), @iocanel (kubernetes) |
Beta Was this translation helpful? Give feedback.
-
@radcortez can you shed some light on this? Perhaps we can also add an example to the config docs? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
@radcortez can you shed some light on this? Perhaps we can also add an example to the config docs?