helm-wrapper
helm-wrapper copied to clipboard
upload charts example
i could not figure out on how to upload a chart file
could you make an example?
| Params | Description |
|---|---|
| chart | upload chart file, with suffix .tgz |
the chart need your chart path, like /path/to/your/chart.tgz
so you meant like:
https://<ip-address>/api/charts/upload?chart=/path/to/your/chart.tgz
?
yes
so you meant like:
https://<ip-address>/api/charts/upload?chart=/path/to/your/chart.tgz
not work. @opskumu @wibed can u help me?
Example I want to upload chart using an API.
curl -X POST 'http://<ip-address>/api/charts/upload' -F 'chart=@/path/to/chart.tgz' -v

Logs

@stupid-yu mean the chart upload failed?
@opskumu yes, chart upload failed. Here is my test:
curl -X POST 'http://<ip-address>/api/charts/upload' -F 'chart=@/path/to/chart.tgz'
curl -X PUT 'http://<ip-address>/api/repositories'
curl -X GET 'http://<ip-address>/api/repositories/charts'
API upload chart did not work as expected

@stupid-yu upload charts need list with list local charts api
- GET
- /api/charts/upload
@opskumu it works.
Sorry,I made a mistake. I got upload chart confused with helm push.
Exactly,I need an API for helm push
@stupid-yu get, helm push now not support, i'will support it later