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

Update the OCIApiClient to be aware of (and use) oci-catalog service #6684

Merged
merged 3 commits into from Aug 24, 2023

Conversation

absoludity
Copy link
Contributor

@absoludity absoludity commented Aug 24, 2023

Description of the change

This PR moves the validation code that checks the oci-catalog service into the existing OCIApiClient itself, so that we can use the same and encapsulate the functionality in the one place - the OCIApiClient - when adding the sync functionality.

Benefits

Functionality encapsulated in the one client. Also improves existing code to use contexts in network calls.

Also removes the AuthHeader that was not being used, since some time ago we switched to creating the http client using the header, so the auth is present there already.

Possible drawbacks

None that I can see (let CI determine).

Applicable issues

Additional information

Base automatically changed from 6363-sync-via-oci-catalog to main August 24, 2023 03:53
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
@netlify
Copy link

netlify bot commented Aug 24, 2023

Deploy Preview for kubeapps-dev canceled.

Name Link
🔨 Latest commit 18ea710
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/64e6db87e39c2300089c1b49

Signed-off-by: Michael Nelson <minelson@vmware.com>
@absoludity absoludity merged commit d1894c9 into main Aug 24, 2023
41 checks passed
@absoludity absoludity deleted the 6263-sync-via-oci-catalog2 branch August 24, 2023 05:12
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