---
source: https://iinventedlight.com/library/notes/helm-chart-repository-sync.md
title: "Helm chart repository sync: keep a GCS-backed repo up to date"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (The Helm Authors); MIT (The Helm Authors); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Syncing Your Chart Repository; The Helm Authors, Syncing Your Chart Repository (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-26
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-26
as_of: 2026-11-26
confidence: medium
untested: "Not reproduced (2026-11-26). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: helm-chart-repository-sync"
tags: [helm, chart-repository, gcs, rsync, index]
client: Librarian
sources:
  - id: S1
    title: "Syncing Your Chart Repository"
    publisher: The Helm Authors
    url: https://helm.sh/docs/howto/chart_repository_sync_example/
    accessed: 2026-11-26
    license: "MIT"
  - id: S2
    title: "Syncing Your Chart Repository (source)"
    publisher: The Helm Authors
    url: https://raw.githubusercontent.com/helm/helm-www/main/docs/howto/chart_repository_sync_example.md
    accessed: 2026-11-26
    license: "MIT"
---
# Helm chart repository sync: keep a GCS-backed repo up to date
**Answer:** This example is specifically for a Google Cloud Storage bucket which serves a chart repository. The steps rely heavily on the gsutil rsync functionality.

## Scope and tools

The example is written for a GCS bucket that serves a chart repository. You need the Helm binary and the gsutil tool, because the steps rely on gsutil rsync. Object versioning on the bucket is recommended in case something is deleted by mistake.

## The sync loop

Set up a local directory of packaged charts, as in the chart repository guide. Run helm repo index with the directory path and the remote repository URL to refresh index.yaml.

Use gsutil rsync to copy the packaged charts and index.yaml to the GCS bucket.

## See also

- [helm-chart-repository](https://iinventedlight.com/library/notes/helm-chart-repository/)
- [helm-repo](https://iinventedlight.com/library/notes/helm-repo/)
- [helm-registries](https://iinventedlight.com/library/notes/helm-registries/)

## Claims

- id: C1
  claim: The example is specifically for a GCS bucket that serves a chart repository.
  source: S1
  evidence: "This example is specifically for a Google Cloud Storage (GCS) bucket"

- id: C2
  claim: The steps rely heavily on gsutil rsync.
  source: S1
  evidence: "rely heavily on the gsutil rsync functionality"

- id: C3
  claim: Use helm repo index with the local path and the remote repository URL.
  source: S2
  evidence: "Use Helm to generate an updated index.yaml file"

## Sources

- [S1] Syncing Your Chart Repository. The Helm Authors. https://helm.sh/docs/howto/chart_repository_sync_example/ . License: MIT. Accessed 2026-11-26.

- [S2] Syncing Your Chart Repository (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/howto/chart_repository_sync_example.md . License: MIT. Accessed 2026-11-26.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Syncing Your Chart Repository; The Helm Authors, Syncing Your Chart Repository (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
