-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically handling multiple charts in one mvn module #38
Comments
Hi; thanks for using the microBean Helm Maven Plugin. No, I'm not going to support this because you can create as many |
Thanks for the response, @ljnelson. tl;dr:A solution is to use a single chart with sub-charts/dependencies. It assigns a release ID for the all the sub-charts, which are then treated as a single deployment. my use caseThe To give some context: my project contains microservice source code, infrastructure helm charts and documentation:
I should then be able run these separately:
I am just trying to work out a good development workflow model using this plugin. |
If you want to simply install a helm chart from the Maven command line, you don't need to run a Maven lifecycle phase. You can just invoke the
To answer your original question ("Is there a way to package and install/uninstall all three charts automatically using the maven helm plugin?") you would use normal Maven constructs for that:
|
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
andinstall
/uninstall
all 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.
chartContentsUri
could 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: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
andjenkins
in a single chart, but then the management thereof becomes more difficult.The text was updated successfully, but these errors were encountered: