https://github.com/logicmonitor/chart-uploader
A simple go application for uploading charts to remote repositories and reindexing
https://github.com/logicmonitor/chart-uploader
Last synced: 12 months ago
JSON representation
A simple go application for uploading charts to remote repositories and reindexing
- Host: GitHub
- URL: https://github.com/logicmonitor/chart-uploader
- Owner: logicmonitor
- License: mpl-2.0
- Created: 2017-11-22T18:48:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-30T23:28:41.000Z (over 8 years ago)
- Last Synced: 2025-06-13T21:06:48.026Z (about 1 year ago)
- Language: Go
- Size: 21.5 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chart Uploader
This application is designed to upload a Helm chart or charts to a Helm
repository and re-index the repository
## Usage
```
Upload a chart to an S3 helm repository.
This command relies on your local AWS authentication configuration. See:
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
The configured credentials must have read/write access to the S3 bucket
hosting the Helm repository
Usage:
chart-uploader s3 [flags]
Flags:
--bucket string Helm repo s3 bucket
--chartdir string Local path to the directory containing chart(s) to upload (Defaults to cwd)
-h, --help help for s3
--indexpath string Path to index.yaml in the remote repository (Defaults to /index.yaml)
--region string S3 bucket region
--remotechartpath string Remote path to upload chart(s) (Defaults to /)
--repo string The URL of the remote repository
```
## Example
```
chart-uploader s3 \
--repo http://my-repo.example.com \
--bucket my-repo.example.com \
--region us-west-1
```
## Docker Example
```
docker run --rm \
-v "$(pwd)":/charts \
-e AWS_SECRET_ACCESS_KEY \
-e AWS_ACCESS_KEY_ID \
logicmonitor/chart-uploader \
s3 \
--repo http://my-repo.example.com \
--bucket my-repo.example.com \
--region us-west-1
--chartdir /charts
```