kokuwaio / helm-maven-plugin

Simple plugin to package helm charts
MIT License
82 stars 55 forks source link

Maven interpolation #370

Open blackat opened 5 months ago

blackat commented 5 months ago

Is this a request for help?: yes


Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

What happened: During a Maven build is normal to interpolate resources files with Maven property, as far as I have got the plugin takes files directly from the src folder. The simple scenario is to interpolate values.yaml with a a given version of an image. Is there a way to directly interpolate the resources (helm charts) without passing via the target folder?

What you expected to happen: The plugin could interpolate Maven properties.

How to reproduce it (as minimally and precisely as possible): Just add a Maven property to values.yaml and run the plugin.

sschnabe commented 2 months ago

Can you filter your files with maven-resource-plugin to /target/helm-filtered and set -Dhelm.chartDirectory=target/helm-filtered ?