-
Notifications
You must be signed in to change notification settings - Fork 264
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
[backport 2.10] Virtualization Management, show warning message if there are no compatible Harvester versions #12851
Conversation
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
…ith Rancher Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
58f0710
to
020b063
Compare
@@ -62,6 +62,7 @@ export default { | |||
|
|||
this.hciClusters = hash.hciClusters; | |||
this.mgmtClusters = hash.mgmtClusters; | |||
this.kubeVersion = hash.mgmtClusters.find((c) => c.id === 'local')?.kubernetesVersionBase || ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would be a minor performance issue.
there's a getter to find a specific resource by id (the cache has all resources mapped by id). think it's <store>/byId
@richard-cox @aalves08 I pushed the requested changes, please take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM mate!
Summary
Contributes to #12688
Occurred changes and/or fixed issues
We noticed that the latest version Harvester version is installed ignoring the compatibility, in case of there are no compatible versions.
Technical notes summary
We want to show a warning message in case the Harvester installation fails due to missing compatible Harvester versions with Rancher.
Areas or cases that should be tested
Areas which could experience regressions
Screenshot/Video
Before
After
Checklist