Commit Graph

85 Commits

Author SHA1 Message Date
Richard Cox 506edbb5a4 WIP Fix routing
- includes project/namespace and namespace pages
2022-08-24 14:57:21 +01:00
Richard Cox da6467d751 Fix reload of project/namespace page 2022-08-19 12:31:14 -07:00
Richard Cox 78cb3ae645 Port across tweaks made during dynamic plugin work
- harvester plugin can be bundled with the dashboard until dynamic work has been completed
- Nav directly to virt cluster dashboard instead of via /harvester-c-cluster
- Fix missing bottom border on virt cluster list, hide actions (as they're never populated)
2022-08-19 12:30:47 -07:00
Nancy Butler 770bc21e50 members routing 2022-08-19 12:29:52 -07:00
Nancy Butler 91effe56f5 rename dialogs 2022-08-19 12:22:13 -07:00
Richard Cox 257e579c6a Fix epinio pkg build
- Includes fixes for some dashboard component references
2022-08-19 12:21:24 -07:00
Nancy Butler e18bf6598e fixes for build-pkg 2022-08-19 12:21:24 -07:00
Nancy Butler a88ea801c9 routing maybe 2022-08-19 12:18:48 -07:00
Neil MacDougall 5465b7d72c
Fix service shows pods from other namespaces (#6685) 2022-08-19 09:46:17 +01:00
Neil MacDougall e1c62c56aa
Add feedback that kube config has been copied to clipboard (#6693) 2022-08-19 09:46:03 +01:00
Catherine Luse c933a9ac73
Merge pull request #6529 from catherineluse/project-permission
Remove unneeded API call to get projects from local cluster
2022-08-03 08:08:49 -07:00
Catherine Luse 53d72ac54a Refactor namespace caching and filtering 2022-08-03 03:21:57 -07:00
Catherine Luse 6f2d62824c Remove unneeded API call to get projects from local cluster 2022-07-27 14:53:56 -07:00
wujun 7f7bea94a7 HARVESTER: delete displayName RFC1123 validations 2022-07-27 16:15:57 +08:00
wujun 216cbd64c1 HARVESTER: validate image displayName 2022-07-26 22:58:48 +08:00
wujun 3a98d63a19 HARVESTER: fix image clone miss label 2022-07-26 22:58:42 +08:00
Catherine Luse c907821868
Merge pull request #6468 from catherineluse/rbac-namespaces
Hide auto-created RBAC namespaces
2022-07-25 11:07:10 -07:00
Catherine Luse 9f3fe043de Throw error if PSP template action error status is not 409 2022-07-25 08:54:50 -07:00
Catherine Luse c311b041af
Merge pull request #6416 from catherineluse/project-creation-error
Retry project creation after 409 error
2022-07-25 08:24:43 -07:00
Catherine Luse ce368ae686 Hide auto-created RBAC namespaces 2022-07-23 16:09:48 -07:00
Nancy 6759fe5d95
Merge pull request #6461 from mantis-toboggan-md/bugfix-namedisplay-error
fix roletemplatebinding models
2022-07-22 16:12:12 -07:00
Catherine Luse 84112efb05 Retry project creation after 409 error 2022-07-22 15:15:05 -07:00
Neil MacDougall dc1ccc3c6d
Performance: Cache pods by namespace (#6388)
* Performance: Cache pods by namespace

* Fix lint issues

* Address PR feedback
2022-07-22 22:53:28 +01:00
Nancy Butler 7500239360 fix roletemplatebinding models 2022-07-22 09:38:27 -07:00
Catherine Luse 1be9916aa7
Merge pull request #6396 from catherineluse/clusters
Only label imported clusters as imported
2022-07-21 15:42:36 -07:00
Jordon Leach a20902ab93
Edit actions for builtin roletemplates and global roles (#6429)
* Edit actions for builtin roletemplates and global roles

* PR changes
2022-07-21 13:42:30 -04:00
Sean-McQ 007dfe66cf
Merge pull request #6420 from Sean-McQ/fix/prometheusrule/form-validation/5820
Add in form validation to prometheus rule. Fix model validation error.
2022-07-21 13:42:15 -04:00
Sean 257f0a9de4 Add in form validation to prometheus rule. Fix model validation error. 2022-07-21 08:28:39 -04:00
Nancy 7618bb5fb8
Merge pull request #6398 from n313893254/pr
HARVESTER: Fixes v1.0.3 issues
2022-07-20 13:19:03 -07:00
Neil MacDougall 8f7dcef5d5
Ensure that we show empty machine pools (#6425)
* Ensure that we show empty machine pools

* Fix two bugs
- empty pool message would show twice in a single pool when there were two empty pools (missing id meant fake machines were all grouped together)
- ensure detail page for rke1 clusters show

Co-authored-by: Richard Cox <richard.cox@suse.com>
2022-07-20 18:32:47 +01:00
Neil MacDougall 8907c6a1d3
Project delete namespaces (#6279)
* custom promptremove component for project and namespace remove

* Fix lin t

* Two tweaks
- Align
  - createnamespace button with ns age column
  - project action button with ns action button column
- Require confirmation to delete a project to match deleting a namespace

* Address PR feedback

Co-authored-by: Neill Somerville <neill.somerville@gmail.com>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2022-07-20 16:16:52 +01:00
Richard Cox 15a84b5776
Merge pull request #6397 from n313893254/cluster
HARVESTER: Fix Harvester clusters have no actions
2022-07-19 17:09:32 +01:00
n313893254 09b873fbd1 HARVESTER: Fix Harvester clusters have no actions 2022-07-19 20:16:33 +08:00
Bastian Hofmann d09778be40
Add ingressClassName field to ingress form and ingress list (#6340)
* Add ingressClassName field to ingress form and ingress list

Addresses https://github.com/rancher/dashboard/issues/6339

* Move ingressClass to details section on ingress detail page

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2022-07-19 10:57:06 +01:00
n313893254 5d3d781406 HARVESTER: Cluster member and cluster owner see inconsistent statistics
(cherry picked from commit f6e2b8f6a8db0a458e64a6d5ed97a8542fe11997)
2022-07-19 15:46:03 +08:00
Catherine Luse 9427509f1a Only label imported clusters as imported 2022-07-18 21:00:56 -07:00
Jordon Leach 8a09180184
Add registration tab to imported aks or eks clusters (#6226)
* Add registration tab to imported aks or eks clusters

* Add ready state check for eks and aks registration tabs
2022-07-18 11:09:21 -04:00
Alexandre Alves 92c81e6d14
provide interface to edit node name (custom name) for RKE1 nodes (#6367)
* provide interface to edit node name for RKE1 nodes

* prevent cluster member to go to edit because they don't have the correct permissions

* Switch to using standard done routing
- to support normal cancel/submit routing there's a number of 'done' style props/methods
- normally these are straight forward, in this case though we go back to the detail location of a different resource
- this should have worked already for cancel (doneOverride) but there was a regression
- to get this working for submit the `done()` was added which works with the components doneLocationOverride
- there's some tech debt in master atm, model doneOverride should be renamed. component doneLocationOverride should move to the model.
  Addressing this though would be troublesome though

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2022-07-15 18:50:46 +01:00
wujun ce8b92f048 HARVESTER: fix poweroff vm state 2022-07-15 09:16:08 -07:00
wujun c79e7d5792 HARVESTER: vm state enhancement 2022-07-15 09:15:53 -07:00
Nancy Butler 84dfff0ea8 websocket disconnect growl
websocket reconnect close growl

rm redundant websocket console error
2022-07-15 09:15:52 -07:00
Richard Cox 540581436b Revert "Display node IPs in cluster management list view. (#6320)"
This reverts commit aec4949b4f.
2022-07-15 10:15:38 +01:00
Catherine Luse 53674c0f9d
Merge pull request #6365 from catherineluse/namespaces
Project/namespace list updates when project is added or removed
2022-07-14 07:22:13 -07:00
Shavindra aec4949b4f
Display node IPs in cluster management list view. (#6320) 2022-07-14 10:40:01 +01:00
Catherine Luse 506b587f9b Project/namespace list updates when project is added or removed 2022-07-13 17:57:00 -07:00
Neil MacDougall 5bca2ca529
Fix cluster pod count on home page (#6358) 2022-07-13 17:34:11 +01:00
Neil MacDougall 886238dea0
Errors are not displaying when standard user attempts to create a project with non-default Pod Security Policy (#6278) 2022-07-08 17:40:20 +01:00
Neil MacDougall a73003018e
Fix snapshot location for rke1 clusters being empty (#6303)
* Fix snapshot location for rke1 clusters being empty

* Fix lint issues
2022-07-08 17:39:10 +01:00
yuzeng 327a9d2c20 Harvester: Fix missing liveMigrate 2022-07-08 18:34:50 +08:00
n313893254 127cf264e3 HARVESTER: Fix edit host system labels 2022-07-08 18:34:50 +08:00