helm-s3 icon indicating copy to clipboard operation
helm-s3 copied to clipboard

Allow reindex with a non-S3 URL

Open colearendt opened this issue 4 years ago • 1 comments

https://github.com/hypnoglow/helm-s3/blob/d20d0fae58a750e055c5d90eaaf9da1dfcfdd98f/cmd/helms3/reindex.go#L38

Perhaps this is an anti-pattern, but if an S3 bucket is to be accessed publicly via CloudFront (i.e. HTTP), it would be nice to be able to manage it via helm s3, but provide a different URL. I propose implementing a --url parameter for the reindex command, much like helm repo index.

# proposed
helm s3 reindex s3://my-bucket/charts/ --url=https://my.cdn.com/charts/

colearendt avatar Jan 20 '21 06:01 colearendt

Isn't this what --relative is for?

almson avatar Sep 30 '21 11:09 almson

For anyone looking into this, the solution is to use --relative flag.

hypnoglow avatar Sep 17 '22 21:09 hypnoglow