-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I would like to create a maven module called build-service containing the following charts:
artifactorydocker-registryjenkins
Is there a way to package and install/uninstall all three charts automatically using the maven helm plugin? I got the impression that the plugin expects a specific chart.
If not, would it make sense to introduce such a functionality? E.g. chartContentsUri could accept an array of URIs, ideally with a wildcard support. That would enable cases such as:
- Array of paths:
[
"file:${project.basedir}/src/helm/charts/chart1/",
"file:${project.basedir}/src/helm/charts/chart2"
]
- Handling of all charts in a directory:
file:${project.basedir}/src/helm/charts/*
In some instances helm:install could then potentially fail due to a subset of target charts being already installed to the environment. Similarly, helm:uninstall would fail if one of the charts has not been installed. This could be rectified manually or with some pre-settable behavirous, e.g. continueOnFailure.
At the moment I can package artifactory, docker-registry and jenkins in a single chart, but then the management thereof becomes more difficult.