Skip to content

cub helm install

cub helm install

Render a Helm chart's templates and install to ConfigHub

Synopsis

Render a Helm chart's templates and install them as ConfigHub units. This command loads a chart (e.g., /) from configured Helm repositories. It processes values from files and --set flags. CRDs are always rendered and splitted if exist.

Examples:

  # Render nginx chart (ensure 'bitnami' repo is added via 'helm repo add')
  # This command would create:
  # 1. my-nginx containing nginx Namespace definition + nginx resources
  # 2. my-nginx-crds containing CRDs (if any)
  #

  cub helm install --namespace nginx my-nginx bitnami/nginx --version 15.5.2 --set image.tag=latest

  # Render the cert-manager chart
  # This creates 2 units:
  # 1. cert-manager-crds: Custom Resource Definitions
  # 2. cert-manager: Namespace definition + Main resources (rendered directly from Helm)
  #

  cub helm install \
    --namespace cert-manager \
      cert-manager \
      jetstack/cert-manager \
      --version v1.17.1
cub helm install <release-name> <repo>/<chartname> [flags]

Options

  -h, --help                 help for install
      --namespace string     namespace to install the release into (only used for metadata if not actually installing) (default "default")
      --quiet                No default output.
      --repo string          specify the chart repository URL where to locate the requested chart
      --set stringArray      set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --skip-crds            if set, no CRDs from the chart's crds/ directory will be installed (does not affect templated CRDs). Mirrors 'helm install --skip-crds'
      --target string        target for the units
      --timeout string       completion timeout as a duration with units, such as 10s or 2m (default "10m0s")
      --use-placeholder      use confighubplaceholder placeholder
  -f, --values stringArray   specify values in a YAML file or a URL (can specify multiple)
      --version string       specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or range (e.g. ^2.0.0)
      --wait                 wait for completion (default true)

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output
      --space string     space ID to perform command on

SEE ALSO