You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
When using the plugin to upload Helm charts to a chart repository, we want to exclude specific .tgz files to avoid uploading sub-charts.
Assuming outputDirectory be ${project.build.directory}/helm (which resolves to target/helm) with the below content:
find target/helm -type f -name "*.tgz"
target/helm/app-chart-0.1-SNAPSHOT.tgz
target/helm/charts/library-chart/charts/subchart-1.1.0.tgz
The helm-maven-plugin tries to upload both .tgz to the specified chart repository:
[DEBUG] Found chart file for upload: /Users/lmartella/Dev/app/target/helm/app-chart-0.1-SNAPSHOT.tgz
[DEBUG] Found chart file for upload: /Users/lmartella/Dev/app/target/helm/charts/library-chart/charts/subchart-lib-1.1.0.tgz
What you expected to happen:
It would be helpful to have an exclude property to filter out subdirectories containing .tgz files that should not be pushed.
Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST
Environment (plugin version, maven version, OS, ...):
Plugin Version: 6.15.0
Maven Version: 3.9.6
OS: Linux/MacOs
What happened:
When using the plugin to upload Helm charts to a chart repository, we want to exclude specific .tgz files to avoid uploading sub-charts.
Assuming outputDirectory be ${project.build.directory}/helm (which resolves to target/helm) with the below content:
The helm-maven-plugin tries to upload both .tgz to the specified chart repository:
What you expected to happen:
It would be helpful to have an exclude property to filter out subdirectories containing .tgz files that should not be pushed.
For instance, by setting:
I would expect the helm maven plugin to only push the following artefact and exclude all the ones under charts/*:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
We use the helm-maven-plugin only for the upload goal, as Helm packaging is handled by Quarkus.
The text was updated successfully, but these errors were encountered: