You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description of the change
This PR aims to fix#8153 by resolving this error:
```
E1219 15:25:15.632218 1 utils.go:1024] Failed to import files, ID=bitnami/nginx, version=17.3.3: Get "oci://registry-1.docker.io/bitnamicharts/nginx:17.3.3": unsupported protocol scheme "oci"
```
### Benefits
Currently, the kubeapps-asset-syncer is unable to fetch the information
when the chart URL is stored in OCI.
In this PR, the chart tarballUrl is transformed when the oci schema is
detected and replaced by its OCI blob URL, so the asset syncer will be
able to fetch the chart tarball the same way as it does for non-OCI
charts.
### Possible drawbacks
None known.
### Applicable issues
<!-- Enter any applicable Issues here (You can reference an issue using
#) -->
- fixes#8153
---------
Signed-off-by: Miguel Ruiz <[email protected]>
Co-authored-by: Beltran Rueda <[email protected]>
returnnil, nil, connect.NewError(connect.CodeInternal, fmt.Errorf("Unable to fetch the chart %s from the namespace %q: %w", chartDetails.ChartName, appRepo.Namespace, err))
0 commit comments