Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1020 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 1020 Bytes

Codefresh Helm Plugin

Use Codefresh Helm plugin to deploy a Helm chart into specified (by context) Kubernetes cluster.

Usage

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

  ...

Environment Variables

  • 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 namespace
  • CHART_VERSION - application chart version to install
  • CHART_REPO_URL - Helm chart repository URL
  • DRY_RUN - do a "dry run" installation (do not install anything, useful for Debug)
  • DEBUG - print verbose install output
  • WAIT - block step execution till installation completed and all Kubernetes resources are ready
  • TIMEOUT - wait timeout (5min by default)