Commit Graph

158 Commits

Author SHA1 Message Date
wujun ae390c96fe HARVESTER: filter namespace in harvester cluster 2021-09-28 17:44:20 +08:00
wujun 7c8a917cc5 HARVESTER: Fix create image from volume bug 2021-09-28 10:11:18 +08:00
Neil MacDougall 5090db795b
Merge pull request #4179 from nwmac/revert-special-key-remapping
Reinstate special key mapping for proxies
2021-09-17 15:09:20 +01:00
wujun 7933a55136 HARVESTER: replace DV with PVC 2021-09-17 11:07:37 +08:00
wujun 8299b6521c HARVESTER: delete unuse file & fix bug 2021-09-17 11:06:47 +08:00
Neil MacDougall bb5d99181f Reinstate special key mapping for proxies 2021-09-16 11:57:49 +01:00
Vincent Fiduccia 81b1b913a4
Switch json-path libraries for SSR 2021-09-14 02:37:50 -07:00
Vincent Fiduccia 6522fd7659
Separate Norman and Steve base classes 2021-09-14 02:37:50 -07:00
Vincent Fiduccia 6354552ddb
Fleet set labels on norman object 2021-08-17 15:53:50 -07:00
Vincent Fiduccia 083bb63dbc
generateYaml override hook in CruResource 2021-08-06 02:06:05 -07:00
Vincent Fiduccia 96f53674d8
Upgrade jsyaml 2021-08-06 02:06:04 -07:00
Vincent Fiduccia 53eca88159
Cloud credentials part deux 2021-08-04 01:14:19 -07:00
Vincent Fiduccia 65457b7ddf
CloudCred 2->1, part one 2021-08-04 01:14:18 -07:00
Vincent Fiduccia bbefcaf1b6
rm -rf Rio 2021-07-02 02:10:02 -04:00
Richard Cox 92d4e5e9af Add grouping and more info to the explorer kube node list
- Add POD stat to kube nodes table
- Group kube nodes by management node pools, describe pools as per old norman node pools
- Add Drain Node
- Add ability to hide table columns depending on window width
  - hide certain stats at certain widths
- Fixed an issue where RAM & CPU stats were reported strangely (multiplied over an above normal % only to be reduced to working % in formatter)
2021-06-24 13:33:45 +01:00
Vincent Fiduccia c1ea27cc2d
Disable editing existing pool names 2021-06-22 23:35:08 -07:00
Richard Cox 175ee7d477 Show error/transition state description in resource lists
- for resources in error or transitioning states show the associated message underneath the row
- message is placed as default content in list's sub-row (currently only used for cis reports)
- also allow override of resource state object used to determine resource state and state message
  - only used in provisioning cluster to swap state with management cluster if not rke2
  - this will be reverted once backend correctly syncs state of legacy/rke1 clusters correctly

Also fixed indentation of unconnected clusters in side nav
2021-06-09 15:20:42 +01:00
Cody Jackson bbfc4070aa Migrating cluster membership from ember to vue (clusterRoleTemplateBindings)
rancher/dashboard#2501
2021-06-04 04:00:49 -07:00
Cody Jackson 66f0755374 Correcting the workload metrics
- We were using the id which had the namespace as a prefix so I switched to shortId
- The metrics currently only have data for 4 of the types so I'm only showing the tab for those 4

https://github.com/rancher/dashboard/issues/2678#issuecomment-841499076
2021-05-26 13:51:24 -07:00
Richard Cox f5539436d2 Add Keycloak OIDC provider
- Much of the grunt work is generic OIDC

Also fixed
- store's principalId was not updated after user enables any auth provider
- Colour of InfoBox title in dark mode
- Issue where some kind of errors when enabling provider were shown as an empty box (exceptionToErrorsArray is now used, which also uses a better catch all stringify)
- An issue where enabling and disabling a provider in the same visit meant lost defaults
- An issue where Auth / Groups would not display (async part had been removed)
- Resource instance validation would show all fields as invalid once one field had failed
2021-05-25 11:15:32 +01:00
Vincent Fiduccia ad2d449449
RKE2 Snapshot list (create/restore API calls TBD) 2021-05-18 12:47:15 -07:00
Vincent Fiduccia c77ba00238
RKE1 Snapshots 2021-05-18 12:47:13 -07:00
Cody Jackson 33d6918188 Migrating Projects from Ember to Vue
rancher/dashboard#2500
2021-05-17 08:49:54 -07:00
Vincent Fiduccia e24da99e20
k9s-style shortkeys 2021-05-06 18:30:44 -07:00
Vincent Fiduccia 294baf0aa2
Machine SSH & Key download 2021-04-29 14:33:09 -07:00
Nancy Butler 9f106198c4 ignore validation for oauth, service acct cred googleoauth 2021-04-26 11:49:42 -07:00
Vincent Fiduccia 19bcd3127e
Cluster improvements 2021-04-21 17:16:44 -07:00
Richard Cox 83492e663d
Merge pull request #2566 from richard-cox/block-delete-self
Ensure current user cannot deactivate or delete themselves
2021-03-19 09:19:57 +00:00
Richard Cox 32c55446cb Ensure current user cannot deactivate or delete themselves
- the api does not allow the signed in user to deactivate/delete themselves
- ensure that we don't show these options by checking user isn't the signed in one
- ideally this should be done via the api by removing the 'remove' link for the signed in user
2021-03-18 18:14:12 +00:00
Richard Cox 1a82410a8e Fix download yaml when multiple resources are selected
- ensure contents of files is correct
- this matches, roughly, what happens in download()
- fallback on previous way just in case
2021-03-18 12:28:05 +00:00
Richard Cox 4807dfa442 Request confirmation of a random resource when deleting multiple resources
- when deleting multiple resources, and confirm enabled, prompt for a random resource name for confirmation
- random resource name will always be visible, for the case where there are more than 5 to delete
- Improved process to declare which resource requires confirmation
- i10n'd some text
2021-03-09 17:14:33 +00:00
Richard Cox 44af00b5d6
Merge pull request #2298 from richard-cox/user-updates
User - List (actions), Create, Clone, Edit, Details
2021-03-05 09:19:06 +00:00
Neil MacDougall fe29a4ad43 Change label for disabled feature flag 2021-02-25 09:19:58 +00:00
Richard Cox 7d355462df User - List (actions), Create, Clone, Edit, Details
- Update Users list with actions
- Add User create/edit page
- Add User details page
- Brought over user/principal global role validation from ember world
2021-02-24 11:07:02 +00:00
Cody Jackson 5e45a4d00a Resolving several issues around role template
- edit yaml didn't show yaml because a schema wasn't defined
- edit yaml didn't save because the update link wasn't correct
- saving yaml didn't update the models in the stores
- not all input elements were passed the mode when looking at the config view
- the select and array list components had visual issues in view mode (didn't show the values and the buttons didn't line up well)
- cloning failed due to cleanForNew not accounting for the template property

https://github.com/rancher/dashboard/issues/2111#issuecomment-777066167
2021-02-23 15:10:51 -07:00
Nancy Butler e572ac137c auth component issues
fix google save action
2021-02-19 11:43:01 -07:00
Richard Cox b0df45baa9
Merge pull request #2344 from codyrancher/constraint-clone
Enable models to override their cleanForNew method
2021-02-19 11:35:26 +00:00
Cody Jackson 9394ea05a4 Enable models to override their cleanForNew method
Constraints were failing to clone because cleanForNew didn't remove `this.constraint` which casued the save method to attempt to save the existing constraint instead of creating a new constraint.

This enables models to be able to create their own cleanForNew method to remove custom props if necessary.

rancher/dashboard#2341
2021-02-18 12:17:56 -07:00
Nancy Butler e1d5bea8d1 reconcile azuread bad merge 2021-02-11 14:48:19 -07:00
Cody Jackson 1bf3efd295 Implementing AzureAD auth
rancher/dashboard#2117
2021-02-09 11:53:48 -07:00
Nancy Butler c4bdaeb571 fix boolean validation 2021-02-02 18:48:57 -07:00
Nancy Butler 4f92b0218f fix ldap/saml add users and groups 2021-02-02 12:01:42 -07:00
Cody Jackson fe4ca3b01e Adding the RBAC List, Edit and Details pages
rancher/dashboard#2111
2021-02-01 09:44:30 -07:00
Vincent Fiduccia 6934f4e8f1
kubectl apply / Cluster import 2021-01-25 15:34:57 -07:00
Vincent Fiduccia e0240f92ef
Merge pull request #2172 from mantis-toboggan-md/auth
ldap, saml, google auth
2021-01-20 11:27:08 -07:00
Vincent Fiduccia 9819c11e0b
Pick cluster, driver, credential, AWS client 2021-01-15 12:59:54 -07:00
Westly Wright 494c165149
Namespace polish and details page
rancher/dashboard#1784
rancher/dashboard#1870
2021-01-11 11:46:45 -07:00
Nancy Butler 9dfdef991b openldap
saml

linting, button cb errors
2021-01-11 08:46:55 -07:00
Vincent Fiduccia 5304375640
Github auth config, pluggable login component 2020-12-22 14:43:26 -07:00
Nancy Butler 3371e177c6 add viewconfig action 2020-12-21 10:35:43 -07:00