Asset syncer authorization failure when re-syncing #7039
Labels
component/asset-syncer
Issue related to kubeapps asset-syncer
kind/bug
An issue that reports a defect in an existing feature
Milestone
Describe the bug
When re-syncing an OCI repository after a change, I noticed (while testing other code) that the sync job would fail with a 401 unauthorized as it attempts a public (no creds) HEAD for the Bitnami Application Catalog specific charts-index manifest. This is not happening when the repo is first added (the sync works fine), but only when updating/editing the repo.
The request in question is simply to test if the charts-index is available and should not be resulting in a failure if not (though we should also be ensuring that we use the credentials with the request).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
New sync should also be successful. In reality, it fails as shown below.
Screenshots
The text was updated successfully, but these errors were encountered: