dashboard
dashboard copied to clipboard
Allow user apps installed with the Helm CLI to be upgraded from Rancher UI
Someone in the Rancher Users Slack wanted to know if they could upgrade an app through forms in the Rancher UI if they had previously installed the app with the Helm CLI.
As of v2.6.x, when apps are installed with the Helm CLI, they are visible under Apps & Marketplace under Installed Apps. When you click it, you can only see YAML and the upgrade option shows a blank page. The reason is that Rancher has no way to know what repository it should associate with the chart to look for new versions. It seems Rancher needs more information than that as well, so we would need to research what info we would need to get from the user in this case.
Ryan Hunt suggested that if you go to the edit/upgrade page for an app that was installed with the Helm CLI, the UI could present a form to let us “adopt” managing that app, asking for the repo it came from and anything else we may need to allow the app to be upgraded from the Rancher UI.
There's a mechanism already that should offer a list of charts to select if one isn't detected. I can't remember how that works though, or if it's only on the create/edit flow. It might be broken or only show if a previously known chart is missing (the repo/chart values are there but the repo was removed).
Whatever is implemented here should tie in to that process.
This sounds more like a bug to me in the logic than a problem with the design