Commit Graph

549 Commits

Author SHA1 Message Date
Neil MacDougall 4c8408a175 Remove Cluster Manager 2021-06-25 08:18:47 +01: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
Neil MacDougall 838407262f Fix issue with v1->v2 chart matching 2021-06-24 11:22:45 +01:00
Neil MacDougall 563b7dd125 Move istio and cis scans to cluster tools 2021-06-22 16:10:06 +01:00
Richard Cox 2f0115a6b2
Merge pull request #3309 from richard-cox/show-status-sub-row-border
Show the bottom border of a table's status row
2021-06-22 11:58:13 +01:00
Richard Cox 1245711e28 Show the bottom border of a table's status row
- addresses #3288
2021-06-22 10:56:40 +01:00
codyrancher 36ee60a536
Merge pull request #3289 from codyrancher/starred-and-permission
Adding another custom permission option for cluster members and allow virtualtypes to be favorited
2021-06-21 12:21:47 -07:00
Nancy 3e0ce138ea
Merge pull request #3170 from mantis-toboggan-md/single-cluster
Single-Cluster home page tweak
2021-06-21 09:55:43 -07:00
Cody Jackson aaf9735cc1 Adding another custom permission option for cluster members and allow virtualtypes to be favorited
https://github.com/rancher/dashboard/issues/3247
2021-06-21 08:57:29 -07:00
Neil MacDougall e079896b9e Remove Cluster Manager 2021-06-21 09:18:05 +01:00
codyrancher 0ddba568da
Merge pull request #3281 from codyrancher/cluster-member-is-system
Updating how we check to see if a clusterroletemplatebinding isSystem
2021-06-18 08:52:12 -07:00
codyrancher 10b0fb86ce
Merge pull request #3275 from codyrancher/project-refresh
Simplified project norman acccess and now refresh management projects when modifying norman projects
2021-06-18 08:51:42 -07:00
Cody Jackson cb7ac112fc Updating how we check to see if a clusterroletemplatebinding isSystem
With the new check we can show a user who doesn't have access to other users a list of members while still omitting the system users.

https://github.com/rancher/dashboard/issues/3256
2021-06-17 03:43:18 -07:00
Richard Cox af04bd300a
Merge pull request #3253 from richard-cox/show-version-for-cluster-tools
Chart Install: Show version selector when coming from cluster tools
2021-06-17 11:32:08 +01:00
Richard Cox 4143caa64e Chart Install: Show version selector when coming from cluster tools
- Also tweak comments and vertical spacing
2021-06-17 10:44:58 +01:00
Cody Jackson 2945bc9210 Simplified project norman acccess and now refresh management projects when modifying norman projects
The management projects weren't consistently being updated when modifying norman projects. Now when
saving or removing norman projects we refresh the management projects to make sure the list is up to date.

https://github.com/rancher/dashboard/issues/3175
2021-06-16 15:45:17 -07:00
codyrancher 1f30371531
Merge pull request #3027 from codyrancher/project-membership-2
Migrating the project membership pages from ember to vue
2021-06-16 11:35:46 -07:00
Cody Jackson 964c8f931f Migrating the project membership pages from ember to vue
rancher/dashboard#2673
2021-06-16 11:22:40 -07:00
Neil MacDougall b5dc4ceb14
Merge pull request #3238 from nwmac/fix-brand-settings-ssr
Brand Setting Page fixes
2021-06-16 15:46:55 +01:00
Neil MacDougall 5a0f06a187 Fix SSR 2021-06-16 14:59:16 +01:00
Richard Cox a8e1505f81
Merge pull request #3210 from richard-cox/charts-tweaks
Charts Page Tweaks/Fixes
2021-06-16 10:34:48 +01:00
Cody Jackson 93c5014a6a Migrating cluster membership from ember to vue (clusterRoleTemplateBindings)
rancher/dashboard#2501
2021-06-15 13:05:51 -07:00
Vincent Fiduccia 1cac475b40
Question fixes 2021-06-15 11:30:59 -07:00
Neil MacDougall 0adf63b324 Brand Setting Page fixes 2021-06-15 12:08:30 +01:00
Vincent Fiduccia 31e0a7973e
Generic cloud credential and machine drivers 2021-06-15 03:26:19 -07:00
Vincent Fiduccia dedff10ae5
Don't not avoid negative options (hide-community-links -> [show-]community-links 2021-06-15 03:12:07 -07:00
Richard Cox ecd2d1b99e Changes following review
- Wrap assignment of repo colours
- Show 'None' when no repo's are selected
2021-06-14 14:36:47 +01:00
Richard Cox 930f6eb577 Charts Page Tweaks/Fixes
- Change title from `Deploy Chart` to `Charts`
- Avoid using rancher and partner repo colours for non rancher/partner repos (visible on 4th and 5th repos)
- Fix issue where repo colour 5 had the wrong dot colour
- When all repos are selected, show 'All'
- Fix height of repo drop down
- When searching charts search by chart display name rather than chart id-ish name
2021-06-11 12:01:25 +01:00
Neil MacDougall eeb40fd37b Brand settings: Don't accumulate errors 2021-06-09 20:42:52 +01:00
Vincent Fiduccia ac458cf3c0
Install cluster templates into fleet-default 2021-06-08 15:14:44 -07:00
Vincent Fiduccia c7c15455cc
Configure addon charts when deploying cluster 2021-06-08 15:14:44 -07:00
Nancy 01efe2ef03
Merge pull request #3134 from mantis-toboggan-md/bugfix-whitelabel
support links tweaks
2021-06-08 09:50:53 -07:00
Neil MacDougall 671a960c3d
Merge pull request #3155 from nwmac/cluster-tools-fixes
Cluster Tools: Don't allow v1 to be installed when v2 is already installed
2021-06-08 16:26:42 +01:00
Nancy Butler 47c79fc197 home page single cluster 2021-06-07 09:25:31 -07:00
Richard Cox d574ecf631 Update helm chart install step 1
- Step descriptions are now info banners
- Added guide to creating new ns in description
- Added and used vertical layout to NameNSDescription component
- Changed 'new ns' message to banner and moved to bottom (to discuss)
- addresses #3060

Also
- Brought back margin/padding bottom sizing. This was important for pages with no detailtop or banner
- Fixed an issue where getLoginRoute would fail where there was no recognised route

One i10n fix
2021-06-07 12:17:45 +01:00
Richard Cox 1f276b574a Ensure routing is correct for roles create/view (but not anything other/deeper) 2021-06-07 11:49:36 +01:00
Richard Cox 63c6df19a6 Ensure routing is correct for chart/install pages 2021-06-07 11:49:36 +01:00
codyrancher 579a562839
Merge pull request #2966 from codyrancher/membership2
Migrating cluster membership from ember to vue (clusterRoleTemplateBindings)
2021-06-04 09:34:02 -07:00
Cody Jackson bbfc4070aa Migrating cluster membership from ember to vue (clusterRoleTemplateBindings)
rancher/dashboard#2501
2021-06-04 04:00:49 -07:00
Vincent Fiduccia 4f78aad2ad
Cluster templates 2021-06-04 01:45:47 -07:00
Neil MacDougall 0a57ad10e8 Cluster Tools: Don't allow v1 to be installed when v2 is already installed 2021-06-03 14:34:30 +01:00
Richard Cox a7fa93953d Add dynamic 'Uninstall V1' step to Monitoring V2 wizard
- Add ability to dynamically include additional steps when installing charts
  - Works in a similar way to custom values components (discoverable via component files)
  - Step component will report if it's loaded and if it's hidden
- Add dynamic step to v2 monitoring that is shown if v1 monitoring is installed
  - User is able to uninstall v1 from step
  - step blocks wizard until uninstall occurs
2021-06-02 14:33:22 +01:00
Richard Cox 7dc2498629
Merge pull request #3128 from richard-cox/fix-sneaky-slide-in
Fix issue where sneaky slide-in would show in install chart wizard
2021-06-02 11:56:32 +01:00
Nancy Butler 3f72a287aa support links tweaks 2021-06-01 07:49:47 -07:00
Richard Cox b8e24edc4b
Update install.vue 2021-06-01 15:14:35 +01:00
codyrancher 17f96ba6b3
Merge pull request #3108 from codyrancher/project-namespace-fixes
Fixing a grouping and filtering issue for projects/namespaces in downstream clusters
2021-05-28 11:19:19 -07:00
Richard Cox 2d9c4fe346 Fix issue where sneaky slide-in would show in install chart wizard
- when the window was super wide the slide in would sneak in from the right
- slide-in is now a more sensible fixed width
2021-05-28 16:42:08 +01:00
Vincent Fiduccia 6c8722e4b5
Rename nodepool -> machinepool 2021-05-27 13:37:26 -07:00
Cody Jackson ff8d82afae Fixing a grouping and filtering issue for projects/namespaces in downstream clusters
- The projectId only comes back on the annotation in downstream clusters whereas it comes back as both a label
and annotation in the local cluster. This now retrieves the id from the appropriate location and formats it to be
consistent with the existing usage.
- I also noticed that in the local cluster we werent filtering namesapces that are generated by the backend when creating new clusters and projects in downstream clusters. These were prefixed with 'c-' and 'p-' so we filter them as long as they're a system namespace

https://github.com/rancher/dashboard/issues/2500#issuecomment-848267026
2021-05-27 08:34:46 -07:00
Neil MacDougall 20cb1fd137
Merge pull request #3031 from nwmac/unified-ui
Ember page embedding enhancements
2021-05-27 16:31:24 +01:00
Neill Somerville ed2663a54b
Merge pull request #3003 from neillsom/neill/2688/apps-marketplace-charts-list-v3
Update Apps Charts to multi select dropdown with checkboxes #2935
2021-05-26 13:55:37 -07:00
Neil MacDougall 256cc40279 Address PR feedback 2021-05-26 20:44:31 +01:00
Neil MacDougall 9a5a277463 Fix feedback followign review 2021-05-26 13:58:45 +01:00
Neil MacDougall b2d81681fd Add missing translations 2021-05-26 09:02:18 +01:00
Richard Cox aada5c79a1
Merge pull request #3064 from richard-cox/oidc-auth-provider
Add Keycloak OIDC provider
2021-05-25 17:55:23 +01:00
Nancy 42296cd8b3
Merge pull request #3068 from mantis-toboggan-md/white-label-color
custom color
2021-05-25 09:06:17 -07:00
Nancy Butler d8114e596c brand page tweaks 2021-05-25 07:59:27 -07:00
Nancy Butler f0a9e9edb1 namespace monitors 2021-05-25 07:25:29 -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
Neil MacDougall 9909ed9c97 Remove fixed mode. Fix IFRAME with page header and footer banners 2021-05-25 10:42:20 +01:00
Neil MacDougall 9b7e0b74fc Tidy ups 2021-05-25 10:42:20 +01:00
Neil MacDougall 4184260203 Fix lint 2021-05-25 10:42:20 +01:00
Neil MacDougall 6b1f967f16 Final page moves following review 2021-05-25 10:42:20 +01:00
Neil MacDougall 8699cc71be Changes to add v1 charts to cluster tools 2021-05-25 10:42:19 +01:00
Neil MacDougall 528811c4d6 WIP project side nav 2021-05-25 10:41:47 +01:00
Neil MacDougall 7808e0341d Add link on Cluster Dashboard to install monitoring 2021-05-25 10:41:46 +01:00
Nancy Butler 82f79009b7 custom color 2021-05-24 10:29:51 -07:00
Neil MacDougall 767f54419c
Merge pull request #3052 from nwmac/cluster-tools-tip
Add Cluster Tools tip to the Cluster Dashboard page
2021-05-24 17:25:46 +01:00
Neil MacDougall 52c25c7074
Merge pull request #3046 from nwmac/branding-tweaks
Branding refinements
2021-05-24 16:43:44 +01:00
Vincent Fiduccia a083312b00
Support showing ui.cattle.io.navlinks in the nav 2021-05-22 01:45:42 -07:00
Nancy Butler 4f1d0285eb clean up dropdown option styles 2021-05-21 11:24:55 -07:00
Neill Somerville 0d98e24cfe minor spacing change 2021-05-21 11:14:27 -07:00
Neill Somerville 9a8ae73928 refactor to use existing vselect cmp and checkbox cmp 2021-05-21 11:14:27 -07:00
Neil MacDougall 8926e6b825 Add Cluster Tools tip to the Cluster Dashboard page 2021-05-21 12:51:14 +01:00
Vincent Fiduccia c3cd7ccdc8
Fix setup flow with old settings api 2021-05-21 02:59:41 -07:00
Neil MacDougall f80378c475 Branding tweaks 2021-05-21 08:38:00 +01:00
Vincent Fiduccia d12079875a
/v3/settings to /v1/management.cattle.io.setting
- /v3 doesn't exist if multi-cluster-management is disabled
- Use /v1/management.cattle.io.settings everywhere instead of /v3
- It now returns the public set of settings if retrieve with no auth, so
  the store needs to remember that even though we loaded "all" of them
that wasn't really ALL of them so that the full list gets loaded after
auth.
- Use new x-api-cattle-auth header to determine authentication state if present
- Use SETTINGS.* constants consistently
- `brand` -> `ui-brand` for consistency
- `eula-accepted=true` -> `eula-agreed=<timestamp>` to match Ember
2021-05-20 16:48:45 -07:00
Nancy Butler 862e180050 github style, detailed authz message 2021-05-19 13:11:26 -07:00
Nancy Butler 83595ad07d clean up color-variabels mixin, gradient sizzles 2021-05-19 09:10:30 -07:00
Neil MacDougall 9fa224e717 Ideas to tidy up the color palette 2021-05-19 09:10:11 -07:00
Nancy Butler ecb5119f1f ui-banners, ui-pl, ui-issues settings page
style feedback
2021-05-18 08:18:00 -07:00
Richard Cox 6075efa4cd
Merge pull request #3017 from richard-cox/workload-form-fixes
Workloads: Fix two minor form issues
2021-05-18 14:59:06 +01:00
codyrancher 90cc479e90
Merge pull request #2930 from codyrancher/project-migration
Migrating Projects from Ember to Vue
2021-05-17 11:20:35 -07:00
Richard Cox 420f3ce533 Fix two workload form issues
- Fix refresh on load with SSR switched on
- Fix issue where entering text into workload General tab's Command fields lost focus
  - This was interesting to hunt down.
  - Revolved around the change to `container` re-rendering the Tab component due to it's key 'changing'
  - This issue isn't helped by the jumble of workload and container fields in the same context (covered by #2683)
  - Addresses #2723
2021-05-17 19:04:50 +01:00
Cody Jackson 33d6918188 Migrating Projects from Ember to Vue
rancher/dashboard#2500
2021-05-17 08:49:54 -07:00
Richard Cox 78191547fd
Merge pull request #3000 from richard-cox/chart-install-tweaks
Minor tweaks to helm chart install process
2021-05-17 14:22:40 +01:00
Richard Cox 08274b1adc Minor tweaks to install chart process
- update icon and text for slide in 'dock' button
- update command step terminology
- notify user that the custom namespace will be created
2021-05-17 10:47:25 +01:00
Vincent Fiduccia 93a0601c4b
Merge pull request #2997 from richard-cox/metric-poller-mixin
Fix refresh on node detail and list pages with SSR enabled
2021-05-16 13:07:07 -07:00
Nancy Butler 3dcbc33bde actually move routes, receivers, monitors into monitoring nav 2021-05-14 09:01:36 -07:00
Richard Cox 878417b482 Fix refresh on node detail and list pages with SSR enabled
- match fix that had been applied to cluster home page
- move out common Poll code into mixin
- note - in cluster home page poll was being stopped via beforeRouteLeave, whereas others were in beforeDestroy. I've tested this in both modes and it still works ok
- addresses #2984
2021-05-14 11:12:44 +01:00
Richard Cox f6aab19cce Make Commands step optional, triggered from step one 2021-05-14 07:40:29 +01:00
Richard Cox 303f127f1d Tweak step description 2021-05-14 07:40:29 +01:00
Richard Cox a4cb136c5b Don't require users to accept chart warnings before installing 2021-05-14 07:40:29 +01:00
Richard Cox 2982aea0fa Change helm values form/values button group
- also add button group disabled state for individual buttons
2021-05-14 07:40:29 +01:00
Richard Cox c85e9cd917 Add 'dock in window' option to slide in 2021-05-14 07:40:29 +01:00
Richard Cox 752acd160d Address first round of review comments
- removed a multi-level ternaries
- fixed display of charts with long lines of text in code blocks
- correctly pluralised 'warning/s'
- brought chart detail logo size wise inline with chart install wizard
- allow users to upgrade/edit charts with targeted namespaces/names (as opposed to blocking for cluster tools)
- fixed product name
- wizard now has previous/next buttons instead of back/next
2021-05-14 07:40:29 +01:00
Richard Cox b05837c14d Add Helm Chart Install Stepper
- Replaces old edit/install page, which is split out in to Chart Details page and Chart Install page
- Two pages share common mixin
- Updated existing Wizard component for stepper
  - Wizard header greatly updated
  - Step indicator no longer uses query param
2021-05-14 07:40:26 +01:00
Nancy Butler 7dfba34e3f hide brand settings page 2021-05-13 07:54:08 -07:00
Nancy Butler e628d87e2f rm custom brand opt, add dark logo variant support 2021-05-13 07:54:08 -07:00
Nancy Butler 4d32ad7142 suse dark theme stylesheet; 2021-05-13 07:54:08 -07:00