* add logic to display message on installed extension card to warn user when kube version for installed extension is not met + add logic to disable version buttons on info side panel
* add code comment
* minor cleanup
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
* fix issue where extension versions appeared as duplicated
* remove force option
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
- Ensure step vertical bar is aligned correctly
- For App Chart Install ensure the os warning tag is placed correctly WITHOUT borking the alignment of the header or changing wizard classes
- Tested
- Wizard in app chart install - linux only warning and no warning
- Wizard in cru resource (fleet git repo)
- Will also validate in epinio wizard later on
> This uses a new endpoint that has yet to merge. See https://github.com/rancher/rancher/issues/40140
WIP
- Contains console.warns (via custom logger, can be disabled)
- Waiting for final BE endpoint changes to merge
- Contains TODOs to resolve on final enpoint changes delivered
Pertinent Points
- Incompatible with incremental loading / manual refresh
- Harder to get counts (need to sum up from different namespaces)
- Requires use of new steve pagination
- Enforced NS threshold has been removed
- The threshold only applies to the primary resource. This has issues when loading a low count primary (daemon sets) which depends on a very high count secondary (pods)
- Fixing this would involve knowing all secondary resources a list uses, which isn't currently possible (each resource is requested individually, need to know them all first)
- There is no way to subscribe to multiple namespaces (one or all)
- We mock this in subscribe by only persisting changes to resources from within target namespaces
- Everything should work with Advanced Worker enabled
* Formatting test code
* Remove wrapping styles from ChartPsp checkbox
* Add PSP display condition; allow to pass title
* Prevent checkbox to disappear on value change on certain conditions
* Ignore path for given map of charts/keys if k8s >= 1.25 and PSP is disabled
* Changed way to retrieve cluster version to standard method
- Latest monitoring chart `102.0.0+up40.1.2` bumps grafana from `7.5.11` to `9.1.5`
- This breaks changing dashboard `detail/summary`, `Range` and `Refresh Rate`
- It seems we're safe now to remove the dep on angular when applying these changes to the iframe url
- to be replaced with a simpler approach
Also
- Removed the metrics tabs dependency on hash (given there's two tab groups on page)
- Added `key` to `GrafanaDashboard` components to insure they're created/destroyed correctly
> There's some whitespace changes dont automatically
> Note - This cannot be tested locally due to https://github.com/rancher/rancher/issues/31891
* add logic around limiting extensions to a specific ui-version
* fix semver version comparison to use rancher version
* fix version fetching for ui-rancher annotation on extensions
* ignore checks for head versions (hash) on ui-version annotation for extensions
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
This adds an additional column to the cluster explorer events table, so that there is one column with the object, one with the message and one with event name.
The object column is linked to the object resource. The event name column is linked to the event detail page.
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>