Commit Graph

167 Commits

Author SHA1 Message Date
Catherine Luse 0011efd896
Merge pull request #7690 from catherineluse/ip
IP addresses render properly in Cluster Management
2022-12-13 12:23:03 -07:00
Alexandre Alves ca08c36bf6
fix pods usage in nodes to only account for running pods (#7685)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2022-12-13 16:49:01 +00:00
Catherine Luse d422967891 IP addresses render properly in Cluster Management 2022-12-12 22:25:19 -07:00
Catherine Luse aaf65b60c6 Show both internal and external IPs in list of nodes 2022-12-07 09:53:50 -07:00
Nancy dbd6385799
storage class provisioner dropdown fixes (#7287)
* storage class provisioner dropdown tweaks

* use translation strings with fallback for csi driver display

* add csi driver translations, add driver dropdown to pv create

* add CSI label to csi driver display

* format upsupported plugin label correctly

* fix longhorn/harvester labels, ebs deprecation label
2022-12-06 14:03:44 -07:00
Nancy 002c984e0f
refactor promptModal component props (#7435)
* use modalData.componentProps to pass props to custom modal components

* linting errors
2022-12-06 09:41:17 -07:00
Nancy 6f8ade5765
set default container securityContext (#7539) 2022-11-30 14:15:55 -07:00
Francesco Torchia b3b8057eab
workloads rollback fix
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2022-11-28 18:26:52 +01:00
Neil MacDougall f0df19764f
Add node inactive warning indicator (#7548) 2022-11-28 09:15:15 +00:00
Nancy 8a0f8211bd
allow cloning roles; fix unlabeled multi-select style (#7258)
* allow cloning roles; fix unlabaled taggable select style

* fix role edit/view config style inconsistency
2022-11-22 08:29:47 -07:00
Bastian Hofmann f19624d5bf Add logging output forms for OpenSearch and Redis
Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2022-11-21 12:34:27 +01:00
Francesco Torchia 84dd46c9e1
ui:Job List, fix Duration field sorting
- fix sorting
- code refactoring

- Jobs view: fix duration field in case of Pod never starts

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2022-11-18 15:01:16 +01:00
Neil MacDougall a0a85dc5b3
Fix for cloning namespace in a project (#7271) 2022-11-18 10:02:38 +00:00
Phillip Rak a54c91d73d
Merge pull request #7475 from rak-phillip/chore/eslint-key-spacing
Update key-spacing eslint rule
2022-11-17 13:39:05 -07:00
Phillip Rak 3d410d0974 Apply linter auto-fixes
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2022-11-16 18:38:20 -07:00
richa f0f21dd491
Fixed wrong certificate expires date issue (#7224) 2022-11-16 12:15:24 +01:00
Shavindra b8d83d5d3e
Fix UI not refreshing when cluster members are added or removed. (#7245)
* Fix UI not refreshing when cluster members are added or removed.
* Fix the undefined issue.
2022-11-15 17:25:19 +00:00
Jordon Leach afb24b8cc9
Add hosted k8s provider to provClusterId condition (#7443) 2022-11-14 15:14:16 -05:00
Richard Cox 8d2d0de292 Ensure HPA cannot be associated with workloads owned by others
- This ensures ReplicaSets with owners are hidden
- Fixes #2372
2022-11-08 16:29:56 +00:00
Catherine Luse 8e4049c793 Can use RKE1 cluster scoped registry for Helm chart installs 2022-10-20 15:30:05 +01:00
Alexandre Alves 48da4a3ed0
Remaining shell items for Elemental in 2.7.0 (#7168)
* add file changes needed for remaining shell files to enter 2.7.0

* add missing model prop canScaleUpPool

* manually merging the translations string to fix PR merging issue

* address PR comments

* fix issue with expression

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2022-10-18 11:31:37 +01:00
Richard Cox 68656a808a Fix helm install on local cluster (and make some things type safer)
- id of prov cluster different for local cluster (it's in a different fleet workspace)
2022-10-11 18:48:31 +01:00
Cody Jackson 02fb8f0648 Hide the windows command from k3s cluster
fixes rancher/dashboard#7126
2022-10-10 13:56:33 -07:00
Neil MacDougall f18082c20f
Plugin tweaks (#7095)
* Minor improvements

* Various fixes

* Fix developer load of plugins with '-' character in name

* IImprove installation detecttion and extensions naming

* Fix one more string

* Update placeholder icon

* Change pref string to Extensions

* Change icon and error handlers

* Error handling

* Fix lint

* Limit description length

* Ensure info panel readme info scrolls vertically for content

* Fix lint

* Fix bug where plugins don't load on fresh login or a login after logout

* Add chart compatbility filtering

* PR feedback

* Add check for access to ui plugin schema

* Update string following PR feedback

* Fix GitHub auth

* Fix lint

* Write in default system registry when we are installing the operator

* Fix issue where stuck installing on upgrade/rollback

* Fix bugs and tidy up plugin install/uninstall feedback in UI

* Only use system registry for Rancher images

* One more tweak to fix status on upgrade operation

* Fix extensions page reloading plugins

* Add message to reload the browser

* Fix reload notice for uninstall

* Change way we set defautl system registry
2022-10-10 17:13:24 +01:00
Shavindra 7fd3a742fe
Edit labels and annotations. (#7105)
* Edit labels and annotations.
2022-10-10 14:02:18 +02:00
Cody Jackson 06b6f358fb Disabling explorer links if the cluster is in an error state
rancher/dashboard#7036
2022-10-04 08:51:30 -07:00
Jordon Leach c41223692a
Add gke hosted provider to token creation (#7031) 2022-10-04 10:07:14 -04:00
Neil MacDougall 80eeacfb41
Plugins: Add UI to manage plugins (#6973)
* WIP: Working version

* Further refinement

* Working version

* Refactor to a product

* i18n

* Fix lint and tidy comments

* Empty-Commit

* Bump e2e

* Latest fixes, i18n

* Fix lint

* Fix lint issues

* Fix imports for standlone plugin build

* Only load plugins in dev

* Fix lint issue

* Fix template errors

* Fix operator setup

* Fix menu actions

* Address PR feedback

* Address PR feedback

* Add new preference for plugin developer

* Update icon support

* Add third-party and experimental banners to slide-in

* Add support for update/rollback of a plugin

* Address PR feedback - i18n

* i18n - one more string localised

* i18n - one more string localised

* Minor visual tidy ups

* Use banner for install warning

* Fix saefMode

* Fix lint

* Add some responsiveness to the cards page

* Fix lint

* Bump PR

* Add debug to list coverage reports
2022-10-04 13:16:54 +01:00
Jordon Leach b78e244c07
Add k3s clusters to cert rotation options (#7060) 2022-09-30 17:44:34 -04:00
Shavindra 447fe42cc4
Workload page updates (#7041)
Fixes #6800 - Workload storage mount point for volumes should be on containers
Fixes #7021 - Allow user to change the volume name
Fixes #7027 - Pod details page broken

These all works on 2.6.9 because PRs were merged after the branch separation. So this is applying the same changes to 2.7.0

For Release 2.6.9
#6800 -> release 2.6.9 PR fix #6886
#7021 -> release 2.6.9 PR fix #7022
#7027 -> release 2.6.9 PR fix #6952
2022-09-30 01:43:07 +02:00
Sean b5ab761e61 Metadata.name on workload types should allow "." character now 2022-09-28 23:01:24 -04:00
Phillip Rak ef8af1d734
Merge pull request #6981 from bashofmann/workload-openshell-matches-wrong-pod
Fix: Open shell from workload pages may pick wrong pod
2022-09-26 14:23:38 -07:00
wujun b477ab6b3e
fix harvester plugin url path (#6975) 2022-09-23 12:33:58 -07:00
Shavindra f4ce24754e
Check status.conditions exists before getting bundle lastUpdateTime (#6818)
* Check status.conditions exists before getting bundle lastUpdateTime - #6771 

* Check property existance when returning lastUpdateTime.

* Fix the conditions for row.status

* Fix status undefined.
2022-09-23 17:37:01 +01:00
Bastian Hofmann a9f153cac6 Fix: Open shell from workload pages may pick wrong pod
If a cluster contains two workloads (e.g. deployments) with the same spec.selector, the button to open a container shell from the workload page or list always picks the first pod that matches this selector without taking namespaces into account.

Fixes https://github.com/rancher/rancher/issues/36344 and https://github.com/rancher/rancher/issues/38506

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2022-09-23 16:13:26 +02:00
Jordon Leach 5497ee1323
Fix cpu/memory usage calc for eks nodes from norman (#6915) 2022-09-22 08:45:23 -04:00
Richard Cox 9ff599144d Fix the url used to fetch the embedded harvester plugin
- supports legacy harvester cluster use case where it does not have it's own plugin
2022-09-20 12:29:41 +01:00
wujun c413322de5 fix pkgName 2022-09-18 14:36:38 +08:00
Jordon Leach 172bb2b0b9
Add warning banner for zero desired nodes in eks (#6850)
* Add warning banner for eks desired node groups

* Fix desired node group warning to filter for all node groups
2022-09-14 13:37:26 -04:00
Jordon Leach d2d7f12e9c
Add check for 403 to project creation action (#6877) 2022-09-14 08:12:56 -04:00
Richard Cox 7ecfe879c0 Merge remote-tracking branch 'upstream/master' into test-pluginize-rc-2 2022-09-09 13:19:15 +01:00
Richard Cox ad950c9d70 Fixes following review
- Don't use `harverster/findAll` in harvester machine config
- Fixed access for `SETTING.UI_DASHBOARD_HARVESTER_LEGACY_PLUGIN`
2022-09-09 11:34:14 +01:00
Richard Cox 6692fdda5f Fixes for plugin embedded in dashboard
- also additional logging
2022-09-08 15:56:13 +01:00
Richard Cox 384e6314b6 Remove /:product route from harvester plugin
- this will never be used, as we'll always need a cluster in the route to fetch the plugin from
- additionally 2 people have hit errors where this caused /home to fail
2022-09-08 13:32:20 +01:00
Richard Cox c3f64ef97f Updates to harv plugin location
- wire in setting for legacy clusters using a remote plugin
- add an override for all
2022-09-07 14:34:37 +01:00
wujun 100acf614d
Fixed error namespace router (#6809) 2022-09-06 18:28:09 -07:00
Richard Cox 5572b05380 Merge remote-tracking branch 'upstream/master' into test-pluginize-rc-2 2022-09-06 16:50:50 +01:00
Richard Cox d02b614a5c Allow plugins to supply their own fall back model loader
- if a plugin doesn't override/have a model we fall back on model-loader-require
- by default this is blank (to avoid importing all shell models for all plugins)
- for harvester it's so closely tied by both standard resources and resources in
  management/rancher stores  that it's hard to manually supply all that we
  should just load them anyway
2022-09-06 16:45:32 +01:00
Richard Cox 1b0344d93b Update dynamic plugin loader 2022-09-05 17:13:25 +01:00
Shavindra 35c51c7f47
Improve workload screens - #6455 (#6632)
* Make container tabs horizontal.

* Update cronjobs, DaemonSets, Jobs, StatefulSets to use same Workload component.

* Fix 6755 - Wrong sidecar config edit not shown in UI.

* Set Persistent Volume claim capacity as required.
2022-09-02 18:12:31 +02:00