Helm
by ipedrazas
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
stringoptionalnamespace where you want to install your chart. If you don't specify this parameter
Default: default
chart
stringrequiredThe chart to install
Default: none
release
stringrequiredname 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
stringoptionalvalues injected in helm command. These are the values you want to overwrite.
Default: none
prefix
stringoptionaldefines 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
stringoptionalnamespace where tiller will be installed.
Default: kube-system
debug
booleanoptionalvery verbose output. it will display all the ENVVARS passed to the container. Very handy when debugging secrets.
Default: false
skip_tls_verify
booleanoptionalif you create your own SSL certificates, youi will need this flag to be true to avoid having connectivity issues.
Default: false
api_server
stringoptionalkubernetes api server.
Secret recommendedDefault: none
kubernetes_token
stringoptionalkubernetes token.
Secret recommendedDefault: none