Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-required ClientOptResolver option usage #55

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

antgamdia
Copy link

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 helm/helm#12310 (comment). In short, this is blocking a potential upgrade from ORAS v1 to v2 at Helm's side.

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@antgamdia
Copy link
Author

antgamdia commented Mar 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants