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

Leave slash in chart name encoded. Fixes #5897 #5970

Merged
merged 1 commit into from Feb 8, 2023

Conversation

absoludity
Copy link
Contributor

Signed-off-by: Michael Nelson minelson@vmware.com

Description of the change

In #3863 a change was made to ensure that we unescape spaces in the chart name before syncing data to the database, which unintentionally stopped Kubeapps from being able to retrieve charts that include a slash / in the chart name (as is the case when using a unified repository with Harbor). It was noted on the PR as a possibility, but at the time, we didn't have non-OCI helm chart names with slashes that we were aware of, so we didn't follow it up.

Benefits

A unified Harbor Helm repo can be used with Kubeapps.

Possible drawbacks

Haven't checked if the chart will display with the escaped slash or not, but still better to be able to display it rather than error.

Applicable issues

Additional information

Signed-off-by: Michael Nelson <minelson@vmware.com>
@netlify
Copy link

netlify bot commented Feb 8, 2023

Deploy Preview for kubeapps-dev ready!

Name Link
🔨 Latest commit bf08ce6
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/63e309cca9c0c0000919b9dc
😎 Deploy Preview https://deploy-preview-5970--kubeapps-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@absoludity absoludity merged commit ca74c12 into main Feb 8, 2023
@absoludity absoludity deleted the 5897-slash-in-repo-name-helm branch February 8, 2023 20:33
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.

Details of Helm charts with a slash in the chart-name cannot be displayed
2 participants