Helm App Upgrade: Add support for new label on ClusterRepo to help when identifying source repository for updates #11675
Labels
area/apps
kind/enhancement
QA/dev-automation
Issues that engineers have written automation around so QA doesn't have look at this
Milestone
EPIC: #11465
Backend: rancher/rancher#45997
Goal:
In the UI code that tries to find the correct chart to use when suggesting an upgrade to an app for a user, we should use the ner label added by the backend team - this will help to avoid the situation where we show an upgrade from a different chart repository to the one the app was installed from.
This should be a case of updating
matchingChart
here - https://github.com/rancher/dashboard/blob/master/shell/models/catalog.cattle.io.app.js#L50If we do NOT have the annotations, then we should look for the predered repo name from the new label (
catalog.cattle.io/cluster-repo-name
), if it is there, we use that and we use a prefered repo type ofcluster
.The text was updated successfully, but these errors were encountered: