Helm package installation via Kublr cluster specification

Overview

You can install Helm packages using cluster specification:

spec:
  packages:
    ...

Installed packages are listed on the cluster page → STATUS tab → Packages section.

You can install a package using a direct url or repository repoURL. See examples below.

Example: installing via direct URL

Installing via url:

spec:
  packages:
    nexus:
      chart:
        name: nexus
        url: 'https://nexus.beta.kublr.com/repository/helm/app-nexus-3.38.1-21.tgz'
      helmVersion: v3.5.2
      namespace: nexusns
      releaseName: nexus 3.38.1
      values:
        ...

The specification above will:

  • Download Helm version 3.5.2 (if not presented in your environment) and use it for further steps
  • Download from the specified url the chart named nexus
  • Install this chart into nexusns namespace
  • Set its release name to nexus 3.38.1
  • Fill the values section with the parameters/values from chart’s values.yaml.

Example: installing via repository

Installing via repoURL:

spec:
    packages:
        nexus:
            chart:            
                name: nexus
                repoURL: 'https://github.com/jenkinsci/helm-charts/releases/download'
                version: '3.11.10'
                chartPullSecret: chartpull-kublr-demo
            helmVersion: v3.5.2
            namespace: nexusns
            releaseName: nexus 3.11.10
            values:
                ... 

Prerequisites:

  • In Kulbr UI > CREDENTIALS create credentials of the User/Password type for accessing the repository. Name the credentials chartpull-kublr-demo.

The specification above will:

  • Download Helm version 3.5.2 (if not presented in your environment) and use it for further steps
  • Connect to the specified repository with the chartpull-kublr-demo credentials.
  • Download from this repository the chart named nexus with version 3.11.10
  • Install this chart into nexusns namespace
  • Set its release name to nexus 3.11.10
  • Fill the values section with the parameters/values from chart’s values.yaml.

Further configuration

To further configure your installed Helm package, in cluster specification, use the values section of your package.