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 Type Default Description
–help Print help information
–cluster -c string Install on cluster. required
–namespace –ns string default Install on namespace
–tiller-namespace –tn string kube-system Where tiller has been installed
–repository -r string kubeapps Helm repository (absolute url or name of context with type helm-repository). required
–name -n string Name of the chart in the repository. required
–version -v string 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