liveBook · Manning

Helm chart repository

As explained in Acing the Certified Kubernetes Administrator Exam, Second Edition

A Helm chart repository is a server or storage location that hosts packaged, versioned Helm charts and their index metadata for distribution.

A Helm chart repository stores packaged Kubernetes applications so Helm can retrieve and install them without rebuilding YAML manifests. Repositories may be public or private, and Helm must be told a repository name and URL before searching or installing its charts. section 5.3.1

Use a repository through a short operational workflow:

  • Add the repository with helm repo add, then verify its registered name and URL with helm repo list. section 5.3.1
  • Search available charts with helm search repo, which displays chart versions, application versions, and descriptions. section 5.3.1
  • Install a selected chart by naming the repository-qualified chart, optionally supplying values for customized manifests. section 5.3.1

Register and search a repository

helm repo add hashicorp https://helm.releases.hashicorp.com registers the HashiCorp repository. helm repo search vault then lists charts such as hashicorp/vault with chart and application versions. section 5.3.1

root@kind-control-plane:/# helm repo add hashicorp 
https://helm.releases.hashicorp.com 
"hashicorp" has been added to your repositories
root@kind-control-plane:/# helm repo list 
NAME         URL
hashicorp    https://helm.releases.hashicorp.com

View representative output confirming repository registration with helm repo add and helm repo list. section 5.3.1

How Acing the Certified Kubernetes Administrator Exam, Second Edition covers it

How deep it goes
Explains repository registration, chart search, and installation, but does not detail repository internals.
Examples
Uses HashiCorp and MetalLB repositories, with helm repo add, helm repo list, and helm search repo examples.
What it assumes
Assumes Helm is installed and uses the existing kubeconfig to install chart resources into a Kubernetes cluster.
What you can do after
Operate Helm repositories by registering sources, locating charts, and installing selected charts with the Helm CLI.
How it connects
Connects Helm chart repositories with Helm charts, package management, templating, and Kubernetes manifests.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the Certified Kubernetes Administrator Exam, Second Edition. The section links point to the parts of the book it draws on.