gcs-copy is a simple binary that copies files from one location in a gcs bucket to another
It facilitates providing a public static version of your chartmuseum server via direct public gcs bucket access
Installing
You will need to generate a service account JSON key for your cluster and store that as a secret in Kubernetes
Then you can provision gcs-copy as a cronjob with something like this:
You will need to adjust your chartmuseum server settings to prefix the “charts” directory and use gcs as storage.
Now whenever you hit the api to upload a chart simply run helm repo update afterwards to force a recreation of the index-cache.yaml
You now have a highly available (serverless) public endpoint to serve your helm charts from!
gcs-copy
gcs-copy is a simple binary that copies files from one location in a gcs bucket to another It facilitates providing a public static version of your chartmuseum server via direct public gcs bucket access
Installing
You will need to generate a service account JSON key for your cluster and store that as a secret in Kubernetes Then you can provision gcs-copy as a cronjob with something like this:
You will need to adjust your chartmuseum server settings to prefix the “charts” directory and use gcs as storage. Now whenever you hit the api to upload a chart simply run
helm repo updateafterwards to force a recreation of the index-cache.yaml You now have a highly available (serverless) public endpoint to serve your helm charts from!