Install or Upgrade Helm Chart

Description

Install or upgrade a Helm chart Repository flag can be either absolute url or saved repository in Codefresh.

Command

codefresh install-chart

Options

Option Alias Default Description
--help Print help information
--cluster -c Install on cluster. required
--namespace --ns default Install on namespace
--tiller-namespace --tn kube-system Where tiller has been installed
--repository -r kubeapps Helm repository (absolute url or name of context with type helm-repository). required
--name -n Name of the chart in the repository. required
--version -v Version of the chart in the repository. required
--context Contexts (yaml
--set set of KEY=VALUE to be passed to the install
--detach -d Run pipeline and print build ID
--release-name The name to set to the release

Examples

Install chart from public helm repo

codefresh install-chart --name mongodb

Get all helm repos

codefresh get ctx --type helm-repository

Install chart saved repo

codefresh install-chart --name mongodb --repository my-help-repository