Commit Graph

184 Commits

Author SHA1 Message Date
Francesco Torchia 441722ab8c
Events tab
- define header
- set "Last Seen" column as default sort

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-01-12 16:53:42 +01:00
Richard Cox d72e78be10
Merge pull request #6569 from PNAP/master
pnap machine driver implementation
2023-01-12 10:10:02 +00:00
richa b89bcb595f
Prompt node pool (#7772)
* Added prompt in machinedeployment

* Save users promptConfirmation in cookies

* Changed pormpt size

* Added comments to the code, replace mounted function with create

* Fixed review comments

* Removed cookies added scale pool promt variable in prefs file

* Corrected pref variable name format and update comments

* Added confirmation prompt option in pref page
2023-01-11 15:51:47 +01:00
Nancy Butler 53774ce38c move harvester-mgr stuff 2023-01-09 10:48:42 -07:00
Giuseppe Leo 3e31e9f138
Add support for Pod Security Admission in the Namespace resource (#7619)
* Create models, config and utils for PSA

* Create PSA tab form view

* Create custom labels for Namespace

* Add icon option for Namespace detail view

* Add icon for Namespace list

* Add PSA tab for Namespace edit view

* Add i18n for all the PSA parts

* Separate PSA labels between mode and versions

* Filter DetailTop Namespace labels from PSA versions

* Correct unit test

* Correct Namespace tooltips for details, to be created after fetching the resources

* Remove unnecessary model

* Add todo for PSA implementation

* Add TODO for tests with checkbox and select

* Correct namespace list link with model method

* Add TODO

* Move i18n key for PSA

* Align Namespace detail view chips icon to the top

* Restore labels and annotation to the Namespace view

* Merge LabelsPSA features to existing Labels component

* Move all the PSA logic from the view to the model

* Tweaks following review

DetailTop
- Remove PSA specific code from generic component

ResourceDetail
- Remove PSA specific code from generic component
- Remove plumbing for descriptions and icons from parent component to DetailTop

Labels&Annotations component
- Default `show system labels` to off
- Ensure size of `Labels` and `Annotations` titles are the same
- Improve padding
- Remove PSA specific code from generic component
- Removed un-needed margin-bottom

Project/Namespace List
- Improve padlock icon alignment
- Improve spacing around PSA list in tooltip (this will pop up often)

PodSecurtyAdmission settings component
- Improved alignment on PSA checkbox

General Improvements
- Always show Labels&Annotations on Namespace config (view) page

* Changes following testing
- Fix display of show/hide system labels when there are no system labels
- Ensure PSA order shown in project/namespaces list PSA tooltip matches PSA controls in Namespace edit/config page
- Remove two usages of lodash
  - pickBy --> new common pickBy
  - values --> Object.values

* Fix unit tests

Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-01-06 16:01:40 +01:00
huacheng 65c1428842 Fix rollback failure when deploying Deployment through yaml 2022-12-27 15:46:40 +08:00
Neil MacDougall 2dadea1690
Allow kubeconfig to be downloaded/copied when cluster is not ready (#7552) 2022-12-19 22:45:35 +00:00
Catherine Luse b41d734054
Merge pull request #6688 from bashofmann/logging-flow-match-namespaces
Add additional namespaces match field to logging ClusterFlow page
2022-12-16 18:19:58 -07:00
Nancy dd139d1f4f
add a project membership list view (#7437)
* add project roles to cluster member list view
2022-12-16 14:20:33 -07:00
wujun eb2fccdc86
show loading icon (#7715) 2022-12-16 12:18:31 -07:00
Francesco Torchia 2181f3fdd9
Merge pull request #7711 from torchiaf/fix/6899-2
duration field live refresh
2022-12-16 20:14:06 +01:00
Neil MacDougall 8bfd62dc1e
Fix global role description (#7738)
* Fix issue with project name not editable

* Fix global role description
2022-12-16 17:09:32 +00:00
Neil MacDougall d331ea8da0
Fix issue with project name not editable (#7735)
* Fix issue with project name not editable

* Fix lint
2022-12-16 17:09:16 +00:00
Francesco Torchia 6701ed11a3
Jobs view, Duration field live refresh
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2022-12-15 12:17:36 +01:00
Neil MacDougall e06dfb1d5a
Add explore button to cluster detail view (#7695)
* Move PSPs to advanced section

* Add explore button to cluster detail view
2022-12-15 10:14:13 +00:00
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
Bastian Hofmann 60ebcaff7f Add additional namespaces match field to logging ClusterFlow page
This also fixes a styling issue in the select fields on the Flow and ClusterFlow page

Fixes
2022-11-21 09:45:08 +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