-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Cluster Explorer Apps: Cannot download catalog that responds with a redirect #34584
Comments
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
Confirmed the issue on 2.6.2 Test Environment:Rancher version: 2.6.-head e4db3ee Testing:
|
release note: When using a helm chart repository, the There is a separate issue that has been created that is adding the docs section for this. |
Rancher Server Setup
Information about the Cluster
Describe the bug
Adding an Azure Container Registry based helm chart does not work in the Cluster Explorer but does work in the Apps feature of Cluster Manager.
It seems that the Cluster Explorer implementation is unable to follow ACR's 307 redirect response while the Cluster Manager implementation is able to do this.
To Reproduce
Create an Azure Container Registry (e.g.
foo.azurecr.io
) and upload a Helm chart (az acr helm push
)Configure the Helm v1 repo URL as a catalog in Cluster Explorer and Cluster Manager -
https://foo.azurecr.io/helm/v1/repo
with HTTP Basic Auth using the keys genereated for the registry.Observe that it works in Cluster Manager and the helm chart is shown as available app to install.
Observe that Cluster Explorer displays an error message:
failed to parse response from https://foo.azurecr.io/helm/v1/repo/index.yaml
Using a curl command (
curl -vv --user foo:THEKEY https://foo.azurecr.io/helm/v1/repo/index.yaml
), note that the response is a307
Redirect to an azure blob storage URL containing a shared access signature that is valid for a few minutes.Result
Cluster Explorer displays an error message:
failed to parse response from https://foo.azurecr.io/helm/v1/repo/index.yaml
Expected Result
The same helm chart repository should work both in Cluster Explorer and in Cluster Manager
The text was updated successfully, but these errors were encountered: