Gradle Deployment to K8s
Use the gradle deployment plugin for in-tool-deployment
The gradle deployment plugin
integrates smoothly with your existing Gradle Build Pipeline.
This is an opinionated plugin to deploy docker images and helm charts to kubernetes.
Deployment configurations are organised through profiles and directives.
Available directives are: dockerLogin,dockerBuild, dockerPush, deploy,helmPush
The plugin is build for a multi-module setup. You may define default values in the rootProject and customize them in the
subProjects
Requirements
- helm is installed and available in path (only needed for deploy directive)
- helmpush
is installed and available in path (only needed for helmPush
directive) - docker is installed and available in path
Quickstart
Per default the plugin expects your sources in the following directories:
