Technology preview of chartmuseum with GitHub backend enabled.
4.4K
storage: https://github.com/rjeczalik/storage
chartmuseum: https://github.com/rjeczalik/chartmuseum
Use the following command to start the chartmuseum server:
docker run --rm -P -p 8080:8080 \
-e STORAGE_GITHUB_TOKEN=ghp_123token \
-e STORAGE_GITHUB_ORG=my-organisation \
-e STORAGE_GITHUB_REPO=my-repo \
rjeczalik/chartmuseum-github
The repository is under http://127.0.0.1:8080/<branch> URL.
Assuming the GitHub repository you configured has lab, staging and production branches, you can add the following repositories with helm:
helm repo add charts-lab http://127.0.0.1:8080/lab
helm repo add charts-staging http://127.0.0.1:8080/staging
helm repo add charts-production http://127.0.0.1:8080/production
The GitHub backend is read-only, chartmuseum WILL NOT try to write to your repository.
If you wish to enable Basic Authorization, you can do this with this command:
docker run --rm -P -p 8080:8080 \
-e STORAGE_GITHUB_TOKEN=ghp_123token \
-e STORAGE_GITHUB_ORG=my-organisation \
-e STORAGE_GITHUB_REPO=my-repo \
-e BASIC_AUTH_USER=admin \
-e BASIC_AUTH_PASS=dupa.8 \
rjeczalik/chartmuseum-github
Then run helm like the following:
helm repo add --username admin --password dupa.8 charts-production http://127.0.0.1:8080/production
Content type
Image
Digest
Size
30.9 MB
Last updated
over 4 years ago
docker pull rjeczalik/chartmuseum-github