This plugin allows you to run Kubernetes Helm as part of your pipeline.

Example

kind: pipeline
name: default
steps:
- name: helm_deploy
  image: fpedrazas/drone-helm
  settings:
    skip_tls_verify: true
    chart: ./charts/my-chart
    release: ${DRONE_BRANCH}
    values: secret.password=${SECRET_PASSWORD},image.tag=${TAG}
    prefix: STAGING
    namespace: development

Properties

  • namespace

    stringoptional

    namespace where you want to install your chart. If you don't specify this parameter

    Default: default

  • chart

    stringrequired

    The chart to install

    Default: none

  • release

    stringrequired

    name used in the helm command to specify the release

    Default: If you don't specify the release, helm will generate a random name and you will not be able to upgrade that release.

  • values

    stringoptional

    values injected in helm command. These are the values you want to overwrite.

    Default: none

  • prefix

    stringoptional

    defines the prefix of all the secrets used in the plugin. If prefix is DEV and your secret should be named DEV_PASSWORD and the values would be ${PASSWORD}. If prefix is PROD the secret should be defined as PROD_PASSWORD. This allows you to define different secrets for different.

    Default: none

  • tiller_ns

    stringoptional

    namespace where tiller will be installed.

    Default: kube-system

  • debug

    booleanoptional

    very verbose output. it will display all the ENVVARS passed to the container. Very handy when debugging secrets.

    Default: false

  • skip_tls_verify

    booleanoptional

    if you create your own SSL certificates, youi will need this flag to be true to avoid having connectivity issues.

    Default: false

  • api_server

    stringoptional

    kubernetes api server.

    Secret recommended

    Default: none

  • kubernetes_token

    stringoptional

    kubernetes token.

    Secret recommended

    Default: none