Helm3

This plugin provides an interface to Helm 3.

Basic example:

  - name: deploy_production
    image: pelotech/drone-helm3
    settings:
      helm_command: upgrade
      chart: ./
      release: my-project
      api_server:
        from_secret: prod_api_server
      kubernetes_token:
        from_secret: prod_kubernetes_token

Parameter Reference

mode
Helm command to run; valid options are upgrade, lint, and uninstall. If not provided, can be inferred from the Drone event.
This setting was called helm_command prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
update_dependencies
Run helm dependency update before running the main helm command.
add_repos
Run helm repo add before running the main helm command.
This setting was called helm_repos prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
namespace
Kubernetes namespace for the un/installation.
debug
Produce debug output from the plugin and helm itself. Note that this option may expose secrets in the log output.
chart
Helm chart to install or lint.
release
Release name to un/install.
values
Arguments for helm’s --set flag.
string_values
Arguments for helm’s --set-string flag.
values_files
Arguments for helm’s --values flag.
kube_api_server
Kubernetes api server.
This setting was called api_server prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
kube_token
Token for connecting to the kubernetes api.
This setting was called kubernetes_token prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
kube_service_account
Account name for connecting to the kubernetes api.
This setting was called service_account prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
kube_certificate
Base64-encoded TLS certificate, for clusters using a self-signed CA certificate
This setting was called kubernetes_certificate prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
chart_version
Specific chart version to install.
dry_run
Prepare the un/installation, but do not perform it.
wait_for_upgrade
Wait until kubernetes resources are in a ready state before marking the installation successful.
This setting was called wait prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
timeout
Timeout for any individual kubernetes operation, formatted as a Golang duration (e.g. “3m20s”).
force_upgrade
Pass --force to helm upgrade.
This setting was called force prior to version 0.11.0. The older name is still supported, but upgrading is recommended.
reuse_values
Reuse the values from a previous release.
keep_history
Pass --keep-history to helm uninstall.
lint_strictly
Pass --strict to helm lint.
atomic_upgrade
Pass --atomic to helm upgrade.
cleanup_failed_upgrade
Pass --cleanup-on-fail to helm upgrade.
skip_tls_verify
Do not check for a valid certificate when connecting to the kubernetes api.

See docs/parameter_reference.md for a more detailed explanation of these parameters.