Kubernetes helm Java API
I've written microbean-helm. This project:
- Checks out the
.proto
files from the Helm project… - …generates their gRPC Java bindings…
- …and adds a couple of utility classes.
The end result is that Tiller, the server-side component of Helm that does all the heavy lifting like chart installation, etc., is addressable and drivable from Java. I am guessing that that is what you really want.
You may follow along at its Github repository.
we've not created a Java API for helm yet on the fabric8 team.
The simplest thing is probably to just use the helm
binary for now from your $PATH (or from a docker container if you're using Jenkins Pipeline).
BTW the fabric8 maven plugin supports generating helm charts: https://maven.fabric8.io/#fabric8:helm
You can then apply the helm chart via the command line:
mvn installhelm install target/fabric8/helm/kubernetes/myapp