distribution-tooling-for-helm
distribution-tooling-for-helm copied to clipboard
unwrap/relocate option to allow values.yaml relocation to a different custom registry/repository
Is your feature request related to a problem? Please describe.
For my current use case using Google Artifact Registry (GAR)
- GAR local repository for writes
- GAR virtual repo to perform reads (from several repos including the GAR writes repo)
With this unwrap happens to go against writer repo but I would like to have values.yaml (only) relocated and pointing not to the writer repo but the reader repo so that no further "overrides" are required to consume the chart images
I have made some local modifications to have this working with one additional flag in relocate / unwrap commands e.g
--values-repository
helm dt charts relocate test-chart1 acme.com/federal --values-repository acme.com/read
helm dt unwrap kibana-10.4.8.wrap.tgz acme.com/federal --yes --values-repository acme.com/read
Then i can just consume the chart from the reader repo and chart values registry / repository are pointing to acme.com/read instead of acme.com/federal as a result of --values-repository being set to that value.
helm pull oci://acme.com/read/kibana --version 10.4.8
Is this something that could be added into the tool or any other recommendation on how to best achieve this?
Thanks
Describe the solution you'd like
Have an option to customise the relocation command for chart values and be able to set a different repo for the values.
Describe alternatives you've considered
No response
Additional context
No response