This is a suite of Gradle plugins for building, publishing and managing Helm charts.
-
Gradle task types for common Helm CLI commands
-
Build, package and publish Helm charts using a declarative Gradle DSL
-
Resolve placeholders like
${chartVersion}
from chart source files before packaging -
Resolve dependencies between charts using Gradle artifact dependencies
-
Install, upgrade and uninstall releases to/from a Kubernetes cluster
Apply the com.citi.helm
plugin to your Gradle project:
plugins {
id 'com.citi.helm' version '2.1.0'
}
plugins {
id("com.citi.helm") version "2.1.0"
}
Put your Helm chart sources into src/main/helm
:
๐ (project root) ๐ src ๐ main ๐ helm ๐ templates ๐ ... ๐ Chart.yaml ๐ values.yaml
Use the helmPackage
task to build your chart.