Helm3
by pelotech
This plugin provides an interface to Helm 3.
Example
kind: pipeline
name: default
steps:
- 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
Properties
mode
stringoptionalHelm command to run; valid options are upgrade, lint, and uninstall. If not provided, can be inferred from the Drone event.
Default: none
update_dependencies
booleanoptionalRun helm dependency update before running the main helm command.
Default: false
add_repos
arrayoptionalRun helm repo add before running the main helm command.
Default: boolean
repo_certificate
stringoptionalBase64 encoded TLS certificate for a chart repository.
Secret recommendedDefault: none
repo_ca_certificate
stringoptionalBase64 encoded TLS certificate for a chart repository certificate authority.
Secret recommendedDefault: none
namespace
stringoptionalKubernetes namespace for the un/installation.
Default: none
debug
booleanoptionalProduce debug output from the plugin and helm itself. Note that this option may expose secrets in the log output.
Default: false
chart
stringoptionalHelm chart to install or lint.
Default: none
release
stringoptionalRelease name to un/install.
Default: none
values
stringoptionalArguments for helm's --set flag.
Default: none
string_values
stringoptionalArguments for helm's --set-string flag.
Default: none
values_files
stringoptionalArguments for helm's --values flag.
Default: none
kube_api_server
stringoptionalKubernetes api server.
Default: none
kube_token
stringoptionalKubernetes api token.
Secret recommendedDefault: none
kube_service_account
stringoptionalAccount name for connecting to the kubernetes api.
Default: none
kube_certificate
stringoptionalBase64-encoded TLS certificate, for clusters using a self-signed CA certificate.
Secret recommendedDefault: none
chart_version
stringoptionalVersion of the chart to install.
Default: none
dry_run
booleanoptionalPrepare the un/installation, but do not perform it.
Default: false
wait_for_upgrade
booleanoptionalWait until kubernetes resources are in a ready state before marking the installation successful.
Default: false
timeout
stringoptionalTimeout for any individual kubernetes operation, formatted as a Golang duration (e.g. "3m20s").
Default: none
force_upgrade
booleanoptionalPass --force to helm upgrade.
Default: false
reuse_values
booleanoptionalReuse the values from a previous release.
Default: false
keep_history
booleanoptionalPass --keep-history to helm uninstall.
Default: false
lint_strictly
booleanoptionalPass --strict to helm lint.
Default: false
atomic_upgrade
booleanoptionalPass --atomic to helm upgrade.
Default: false
cleanup_failed_upgrade
booleanoptionalPass --cleanup-on-fail to helm upgrade.
Default: false
skip_tls_verify
booleanoptionalDo not check for a valid certificate when connecting to the kubernetes api.
Default: false