quarkiverse / quarkus-helm

Quarkus Extension to generate the Helm artifacts
Apache License 2.0
10 stars 8 forks source link

Config `quarkus.helm.map-system-properties=true` not working with Gradle #335

Open ThoSap opened 4 months ago

ThoSap commented 4 months ago

Helm extension for Quarkus - Mapping System Properties

I tried using quarkus.helm.map-system-properties=true with

I know that this property is enabled by default, I anyways also tried to explicitly add it to the applications.yaml and makes no difference.

The generated values.yaml and deployment.yaml does not contain any of these system properties which should be automatically picked up by Quarkus Helm.

This is probably not related to Quarkus Helm itself, but rather how Quarkus reads such PropertiesConfigSource system properties when Gradle is used as a build system, so I tag @radcortez here.

https://github.com/quarkiverse/quarkus-helm/blob/1.2.3/deployment/src/main/java/io/quarkiverse/helm/deployment/HelmProcessor.java#L73-L93 https://github.com/quarkiverse/quarkus-helm/blob/1.2.3/deployment/src/main/java/io/quarkiverse/helm/deployment/HelmProcessor.java#L410-L412