Commit Graph

63 Commits

Author SHA1 Message Date
Phillip Rak e0697ed824 Relay vSphere configuration errors to root form
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2023-09-19 18:07:25 -07:00
Jordon Leach 3813e4bd8d
Reset network property when region is updated (#9662) 2023-09-07 14:31:42 -04:00
Giuseppe Leo 01eeb0548f
Add recommended lint rules globally (#8997)
* Update configuration

* Create default config for eslint

* Restore plugin:vue/recommended

* Add exceptions and overrides

* Correct manually remaining issues

* Adding further picked exceptions groupped up

* Fix or disable specific cases manually and singularly

* Add naming linting exception

* Remove unused variable in component

* Move rules to default

* Autocorrect rancher/components linting issues

* Configure VSCode to use multiple files, to display linting for rancher components

* Disable jest lint hook restriction for string list component

* Autofix
2023-06-23 17:02:55 +02:00
Alexandre Alves a9195dda4a
address QA concerns (#8339)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-03-06 09:01:55 +00:00
Alexandre Alves e18529c799
fix bug where location wasnt being populated before fetching vmSizes on async fetch when adding a new machine pool for azure after cluster creation (#8289)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-28 14:16:34 +00:00
Nancy 225a865e18
Add enablePublicIpStandardSku field to azure rke2 provisioning (#8156)
* add form validation for azure availability zones

* add availability zone require fields warnings
2023-02-14 09:34:30 -07:00
Catherine Luse 42bf373067
Merge pull request #7921 from catherineluse/az-order
Availability zones are in order
2023-01-19 12:37:20 -07:00
Catherine Luse 9859d92af0 Show VMs that support AN first 2023-01-13 14:50:46 -07:00
Catherine Luse e420a31a82 Availability zones are in order 2023-01-13 14:42:17 -07:00
Richard Cox f77798a935 Fix linting after merge of old PR
- the pnap PR is pretty old and was done prior to some lint changes
2023-01-12 11:55:20 +00:00
Richard Cox d72e78be10
Merge pull request #6569 from PNAP/master
pnap machine driver implementation
2023-01-12 10:10:02 +00:00
Nancy Butler 7500405cf5 fix cloud-credential and machine-config imports 2023-01-09 10:48:42 -07:00
Qingyang Nong e4e1620f5c
HARVESTER: Remove External Harvester Cloud Credentials Support (#7827) 2023-01-03 16:30:10 -07:00
wujun 221f9a2812
filter harvester system namespace (#7767) 2022-12-20 11:25:25 -07:00
Catherine Luse 565dca9b96
Merge pull request #7687 from catherineluse/azure-vms
Add accelerated networking and availability zones to RKE2/K3s machine pools
2022-12-16 16:23:32 -07:00
Catherine Luse 7a61b15f71 Remove duplicated check box 2022-12-16 16:22:34 -07:00
Catherine Luse 304aa07454 Remove unused import 2022-12-16 15:32:46 -07:00
Catherine Luse 96ee18e135 Minor fixes to accelerated networking PR 2022-12-16 15:25:19 -07:00
Catherine Luse aaf09ca272 Respond to feedback on Azure options PR 2022-12-16 14:30:50 -07:00
Catherine Luse 32ba252152 Use AvailabilitySet by default in create mode 2022-12-16 14:12:23 -07:00
Catherine Luse 3654eac4f7 Change Azure VM size endpoint 2022-12-16 14:12:23 -07:00
Catherine Luse dcf0b5e1b7 Indicate availability of VMs by region and AZ 2022-12-16 14:12:23 -07:00
Catherine Luse 9732773327 Show errer when selected VM doesn't support AN 2022-12-16 14:06:53 -07:00
Catherine Luse 19f7a3cf30 Add availability zone field 2022-12-16 14:04:36 -07:00
Catherine Luse b0b5703bab Put managed disks checkbox next to storage type dropdown 2022-12-16 13:22:47 -07:00
Catherine Luse 3eb7c67374 If Azure storage type StandardSSD_LRS is selected, show managed disks warning 2022-12-16 13:11:16 -07:00
Catherine Luse 91b2f32011
Merge pull request #7296 from catherineluse/azure
Add tags to Azure machine pool config
2022-12-16 11:06:14 -07:00
Catherine Luse ec59230d1e
Merge pull request #7254 from catherineluse/azure-storage
Add StandardSSD as a storage option for Azure cluster provisioning
2022-12-12 15:26:10 -07:00
Catherine Luse 27ebf919a9 Add tags to Azure machine pool config 2022-12-09 13:37:40 -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
Giuseppe Leo d2d4122bc0
Review HTML formatting rules (#6805)
* Prevent ESLint to format generated paths

* Add HTML ESLint Rules

* Format all the Vue HTML templates except Harvester

* Exclude Harvester package from linting HTML, keeping old formatting rules
2022-11-11 17:04:22 +01:00
Dai Yuzeng 06a741e590
Harvester: exclude the network created by storage-network (#7288) 2022-11-01 08:55:56 -07:00
Catherine Luse db2e20e187 Add StandardSSD as a storage option for Azure cluster provisioning 2022-10-20 17:44:12 -07:00
Bastian Hofmann 72ef83ac30
RKE2 Cluster provisioning on Harvester: Make image form field editable (#6765)
Fixes https://github.com/rancher/dashboard/issues/6764
2022-09-29 12:55:30 -07:00
n313893254 ef77f00373 HARVESTER: Add node driver namespace filter 2022-09-20 17:18:14 +08: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
Jordon Leach bd768a73fb
Checkbox to accept strings for valueWhenTrue - ec2 httpEndpoint, httpTokens to string values (#6781)
* Change Checkbox to accept strings for valueWhenTrue property - Convert ec2 httpEndpoint and httpTokens checkboxes to string values

* Added tests for valueWhenTrue prop

* PR feedback
2022-09-08 08:07:13 -04:00
pajuga 05e38bf1b9 Cloud credentials layout changes. Ensure cpu, cores, etc fields are shown as disabled rather than just read-only. Added localization. Test method to validate credentials. 2022-09-07 21:28:35 +00:00
Richard Cox 43d338fac2
Harvester Plugin (#6729)
* routing maybe

* remove nested edit views

* harvester custom routes

* fix loading imported dev cluster

* move harvester-manager hci.cluster type out of harvester pkg

* fixes for build-pkg

* fix harvester custom dialogs

* fix harvester pkg routing

* generateDynamicTypeImport hyphenated dirs

rename cloud_credential and machine_config back to cloud-credential and machine-config

* Appease linting

* Fix epinio pkg build
- Includes fixes for some dashboard component references

* Revert "Receiver credential secrets are deleted when secret is set to none"

This reverts commit 836460e2998959bcda0b14a9f6511f248980b7b5.

* Fix plugin modal cancel button in dark mode

* Ensure correct components loaded when a new version of a plugin is loaded
- The route matcher was never updated with new route-->component values
- This was due to `this.router.options.routes` not containing the result of `router.add`
- See https://github.com/vuejs/vue-router/issues/2280

* Revert "Revert "Receiver credential secrets are deleted when secret is set to none""

This reverts commit e524bb3d40ea7adfe35c38ec7870560625965d25.

* fix harvester manager->harvester routing

* rename dialogs

* move harvester-manager files out of harvester pkg

* Revert "remove nested edit views"

This reverts commit e835835943d63e74c50942884fec3706f8703047.

* plugin validators dynamic import - not working

* fix merge conflict

* fix harvester members

* fix conflict

* custom validators

* harvester table formatters

* members routing

* import path fixes

* harvester mutli load

* 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)

* move config/settings and config/harvester-map

fix hci setting custom components

* fix harvester setting import path

* Move over SerialConsole and Novnc, remove harvester.notifications
- These components were so 1-1 with harvester in the end i moved them over
- Also removed the like-for-like generic.notification `harvester.notification` strings

* Remove isSingleVirtualCluster, most of isMultiVirtualCluster

* Fix two nav issues
- harv cluster members --> prefs --> click on-screen back
- dashboard --> prefs --> click on-screen back

Both of these would be better fixed by an incoming change to the default layout (don't show old content before switching page)

* Fix reload of project/namespace page

* Split out project namespace into it's own component (1 or 2)

* Split out project namespace into it's own component (2 or 2)

* use product hideSystemResources opt instead of isVirtual/product===virtual

* fix missing prop in header

* Move FilterLabel and CloudInitType to harv pkg + two other references

* Move Harvester Upgrade components to harv pkg
- Needs a review with Neil regarding generics

* rebase build+load not working

* fix harvester route in authenticated

* Experimental Changes

* Fix merge conflicts

* WIP Fix routing
- includes project/namespace and namespace pages

* Tidying up

* Move harvester core store to plugin, remove harvester code from authenticated flow
- harvester store is a steve store that now lives in the plugin
- harvester `loadVirtual` replaced with a shortened `loadCluster` in it's own store
- Also fix xterm css import

* Fix three routing related bugs
- Fix project/namespace create/edit/cancel/done flows
- Update harvester's loadCluster to better match loadCluster
- Make edit namespace page project resource agnostic

* Build fixes

* Fix create namespace button and other tweaks

* fix two issues with nav out of imported harvester cluster

* Fix alignment of action menu button
- Used in many places
  - all generic table action menus
  - global settings --> settings
  - rke1 cluster detail page machine pool group actions
  - project/namespace list project group actions
  - resource detail page action menu

* Revert changes to app and pkg creators
- This should fix `check-plugins-build` gate
- It does hide the underlying issue, but that won't have been brought in by this PR?

Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
2022-09-01 08:57:05 -07:00
Richard Cox b3f13843dd Merge remote-tracking branch 'origin/harvester-plugin-rebased' into test-pluginize-rc-2 2022-09-01 13:57:18 +01:00
Nancy Butler 846af8bc70 move config/settings and config/harvester-map
fix hci setting custom components
2022-08-19 12:31:13 -07:00
Nancy Butler c2497df37b Revert "remove nested edit views"
This reverts commit e835835943d63e74c50942884fec3706f8703047.
2022-08-19 12:25:28 -07:00
Nancy Butler d171b5d83a move harvester-manager files out of harvester pkg 2022-08-19 12:23:48 -07:00
Nancy Butler eb5de29744 generateDynamicTypeImport hyphenated dirs
rename cloud_credential and machine_config back to cloud-credential and machine-config
2022-08-19 12:21:24 -07:00
Nancy Butler a88ea801c9 routing maybe 2022-08-19 12:18:48 -07:00
yuzeng 7b4dfa10be Harvester: remove Pod Scheduling on harvester cluster page 2022-08-09 21:14:04 +08:00
Nancy 55b0564490
Merge pull request #6560 from n313893254/pr
HARVESTER: Fix HARVESTER v1.0.3 VM issues
2022-08-03 10:34:46 -07:00
yuzeng 3ad5318d94 Harvester: move harvester specific code out of PodAffinity 2022-08-03 18:17:08 +08:00
yuzeng 542ca71216 Harvester: typology field is inputable if get nodes failed 2022-08-03 00:37:45 +08:00