Master Helm Repository Management: Add, Update, Search, Pull, and Push Charts
This guide explains Helm repository concepts, lists common public and private repo types, provides URLs for official sources, and details step‑by‑step commands for adding, updating, listing, removing, searching, version‑checking, pulling charts, and managing private repositories with index creation and chart pushing.
Overview
Helm repositories are simple HTTP servers that host packaged Helm charts (.tgz files) together with an index.yaml file that lists chart metadata such as name, version, and description. Helm clients query the index to discover available charts.
Official documentation: https://helm.sh/zh/docs/topics/chart_repository/
Public repository index: https://artifacthub.io/
Common Repository Types
Official repository (archived; use Artifact Hub to discover community charts)
Community repositories such as Bitnami, Jetstack, etc.
Private repositories for internal, proprietary charts
Typical Public Helm Repositories
Bitnami – https://charts.bitnami.com/bitnami Grafana – https://grafana.github.io/helm-charts Prometheus Community – https://prometheus-community.github.io/helm-charts Harbor – https://helm.goharbor.io MinIO Operator –
https://operator.min.ioHelm Repository Management Commands
Add a Repository
helm repo add [NAME] [URL]Example:
helm repo add prometheus https://prometheus-community.github.io/helm-chartsUpdate Repository Index
helm repo updateThis fetches the latest index.yaml from all configured repositories.
List Repositories
helm repo listShows each repository name and its URL.
Remove a Repository
helm repo remove [NAME]Example:
helm repo remove grafanaSearch Charts
helm search repo [KEYWORD]Performs fuzzy matching across all configured repositories.
Show Chart Versions
helm search repo [CHART] --versionsExample:
helm search repo prometheus/kube-prometheus-stack --versionsPull a Chart
helm pull [CHART] --version [VERSION] --untar --destination [DIR] --repo [REPO_URL]Example:
helm pull prometheus/kube-prometheus-stack --version 72.9.0 --untar --destination ./chartsPrivate Repository Commands
Create Repository Index
helm repo index [DIR] --url [REPO_URL]Generates an index.yaml for a local directory of chart packages, suitable for serving as a private Helm repository.
Push a Chart
helm push [CHART_PATH] [REPO_NAME]Uploads a packaged chart to a Helm repository that supports the helm push plugin (e.g., ChartMuseum, OCI registries).
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
