I would like to create a maven module called build-service containing the following charts:
artifactory
docker-registry
jenkins
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.
I would like to create a maven module called
build-servicecontaining the following charts:artifactorydocker-registryjenkinsIs there a way to
packageandinstall/uninstallall three charts automatically using themaven 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.
chartContentsUricould accept an array of URIs, ideally with a wildcard support. That would enable cases such as:file:${project.basedir}/src/helm/charts/*In some instances
helm:installcould then potentially fail due to a subset of target charts being already installed to the environment. Similarly,helm:uninstallwould 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-registryandjenkinsin a single chart, but then the management thereof becomes more difficult.