distribution-tooling-for-helm
distribution-tooling-for-helm copied to clipboard
Remove non-required `ClientOptResolver` option usage
In Kubeapps, we needed to add a new ClientOptResolveroption in the Helm project (context here). However, this is mostly for tests and other non-typical use-cases.
The current NewClient function in Helm is setting the required options in the autorizer, so there is no need to manually set the resolver (see the code)
This PR is mainly remove those redundant piece of code, so that ClientOptResolver is not used anymore.
The rationale behind the change is in https://github.com/helm/helm/pull/12310#discussion_r1501065719. In short, this is blocking a potential upgrade from ORAS v1 to v2 at Helm's side.
ping @juamedgod / @alemorcuq :P
Edit: as per an offline sync, they will go ahead with the change if Helm decides to effectively migrate to ORAS v2.