Use Codefresh Helm plugin to deploy a Helm chart into specified (by context) Kubernetes cluster.
Set required and optional environment variable and add the following step to your Codefresh pipeline:
---
version: '1.0'
steps:
...
release_to_env:
image: codefresh/plugin-helm:2.7.2
...
- required
CHART_NAME
- Helm chart name - required
RELEASE_NAME
- Helm release name - required
KUBE_CONTEXT
- Kubernetes context to use (cluster name from Codefresh-Kubernetes integration) NAMESPACE
- target Kubernetes namespaceCHART_VERSION
- application chart version to installCHART_REPO_URL
- Helm chart repository URLDRY_RUN
- do a "dry run" installation (do not install anything, useful for Debug)DEBUG
- print verbose install outputWAIT
- block step execution till installation completed and all Kubernetes resources are readyTIMEOUT
- wait timeout (5min by default)