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

Fix fetching of controllerChart from rancher store #518

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

jordojordo
Copy link
Member

@jordojordo jordojordo commented Oct 19, 2023

Related: kubewarden/kubewarden-controller#465 (comment)

This fixes an issue with Rancher 2.8.0-rc1 where the Installation page was unable to find the kubewarden-controller chart even when the repository that contains the chart can be found. This issue was introduced by rancher/dashboard#9806 - which applied new properties to the catalog/chart getter.

Originally to obtain a chart this method did not require a repo name and repo type, now if a repoName and repoType are not passed along with the chartName it will return nothing. This caused the controller chart to never be found, I have since added a method to retrieve the repo name and type, but ultimately this should be fixed on the dashboard side.

This same behavior was also found when searching for the kubewarden-defaults chart, thus causing the installation banner to not display correctly.

rc1-install.mp4

@jordojordo jordojordo requested a review from aalves08 October 19, 2023 14:32
@jordojordo jordojordo added this to the 1.3.0 milestone Oct 19, 2023
@jordojordo jordojordo self-assigned this Oct 19, 2023
Copy link
Member

@aalves08 aalves08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM mate

@kravciak
Copy link
Collaborator

I tired it, works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants