helm

Release a Helm chart (update or install)

arguments

  • action - The helm operation mode is set by the ACTION variable, where the value is install/auth/push
  • chart_name - Helm chart name to release (path to chart folder, or name of packaged chart) (required)
  • chart_repo_url - Helm chart repository URL (overriden by injected Helm repository context)
  • chart_version - Application chart version to install
  • cmd_ps - Variable to provide other Helm cli flags. For example: '--wait --timeout', etc
  • custom_value_files - Values file to provide to Helm (as --values or -f). see usage information below
  • custom_values - Variables to provide to Helm (as --set). see usage information below
  • helm_version - Version of cfstep-helm image(also helm-cli version). You can choose specific image at https://hub.docker.com/r/codefresh/cfstep-helm/tags
  • kube_context - Kubernetes context to use (the name of the cluster as configured in Codefresh) (required)
  • namespace - Target Kubernetes namespace
  • release_name - Helm release name
  • tiller_namespace - Kubernetes namespace where tiller is at
    deploy:
  type: helm
  arguments:
    chart_name: test_chart
    release_name: first
    kube_context: my-kubernetes-context
    tiller_namespace: kube-system
    namespace: project
    custom_values:
      - KEY1=VAL1
      - KEY2=VAL2
      - KEY3=VAL3
    custom_value_files:
      - /path/to/values.yaml
      - /path/to/values2.yaml
    cmd_ps: '--wait --timeout 5'

  
    deploy:
  type: helm
  arguments:
    ACTION: install
    chart_name: test_chart
    release_name: first
    kube_context: my-kubernetes-context
    custom_values:
      - 'pat.arr="{one,two,three}"'
      - 'STR_WITH_COMAS="one\,two\,three"'

  
github.com
Roman Kuchuk
Dec 3, 2019