Syncing Your Chart Repository
- Install the gsutil tool. We rely heavily on the gsutil rsync functionality
- Be sure to have access to the Helm binary
Create a local directory like we did in , and place your packaged charts in that directory.
For example:
Use Helm to generate an updated index.yaml file by passing in the directory path and the url of the remote repository to the command like this:
Upload the contents of the directory to your GCS bucket by running and pass in the local directory name and the GCS bucket name.
For example:
You’ll want to keep a local copy of the contents of your chart repository or use to copy the contents of your remote chart repository to a local directory.
Helpful Links:
- Documentation on gsutil rsync
- Documentation on object versioning and concurrency control in Google Cloud Storage