Commit Graph

168 Commits

Author SHA1 Message Date
Evgeniya Vashkevich 0c3e06569a
[2.12] Fixed adding a new machine pool to existing GCE instance (#15568) 2025-10-02 21:13:25 -07:00
Nancy eece9aa677
Merge pull request #15335 from rancher/gha-portpr-17477296545-1
[backport-bot v2.12.2] Fix error when creating node driver clusters from yaml view
2025-09-05 06:40:59 -07:00
Evgeniya Vashkevich 89355f404e
[2.12] Added input validation to s3 endpoint field in cluster (#15187) 2025-09-04 17:26:03 -07:00
Nancy Butler 325e585cb6 fixed issue saving machine configs when creating node driver clusters 2025-09-04 21:35:02 +00:00
Phillip Rak 63123b39ec Use `credentialId` instead of `credential` in `hideFooter()` computed
The `credentialId` was mutated into `credential` in 32b6280d4b. This had the unintended side effect of the footer being hidden for standard users who are cluster owners.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-08-22 15:04:08 -07:00
Evgeniya Vashkevich 9a7c808093
Fixed footer inconsistency for different providers (#14829) 2025-07-17 15:23:33 -07:00
Francesco Torchia ecb8d827ba
lint
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-11 17:10:46 +02:00
Francesco Torchia 9873120e9f
normalize/handleConflict refactoring
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-07-11 17:10:43 +02:00
Alexandre Alves 5552e0df54
replace `mergeWithReplace` and `merge` with `handleConflict` function on machine pools sync mechanism (#14431)
* replace mergeWithReplace and merge with handleConflict function on machine pools sync mechanism

* do proper deep copy of objects

* fix PR

* address pr comments

* skim down usecases data

* add mergeWithReplace usecases for unit tests on handleWithConflict

* add more usecases

* fix merge conflicts
2025-07-10 19:50:59 +01:00
Nancy Butler 657a55e41a fix error message handling 2025-07-10 08:53:12 -07:00
Nancy Butler 0e08361c07 refactor setHarvesterChartValues to only run with harvester clusters 2025-07-10 08:53:12 -07:00
Nancy Butler 007d84fac5 fix harvester cloud config path 2025-07-10 08:53:12 -07:00
Nancy Butler 1d7ecf504c fix cluster provisioning edit as yaml modal 2025-07-10 08:53:10 -07:00
Nancy Butler 8f12599864 set harvester chart values in before save hook instead of saveOverride 2025-07-10 08:52:36 -07:00
Evgeniya Vashkevich c72a94e51c
Added GCE support (#14694) 2025-07-09 16:34:29 -07:00
Neil MacDougall 41a7cbed79
Update to support compliance benchmarks (#14582)
* Update to support compliance benchmarks

* Fix lint

* Don't use hard-coded default profiles

* Update e2e tests

* Fix name change in e2e test

* Fix lint

* Rename
2025-06-29 20:20:26 +01:00
Cody Jackson b0d4deca70 Adds the new detail page TitleBar, Metadata and ResourceDetailDrawer to all of the resources by default 2025-06-25 08:00:15 -07:00
Phillip Rak 9303ab6884
Preserve valid user-supplied chart values in rke2 form (#14261)
* RKE2: Account for rke2Charts when applying chart values

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Add unit tests for rke2 changes

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Handle `null` and `undefined` values in `rke2Charts()` getter

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

---------

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-05-09 07:30:24 -07:00
Phillip Rak 22633ef3eb
Overwrite default chart values with user supplied values (#14200)
* Overwrite default chart values with user supplied values

Changes to merge behavior so that user supplied values overwrite default values when merging. The lodash merge operation merges object properties recursively, meaning that any keys in the left-most object will remain present. The customizer function works to overwrite any duplicate properties present in the user values.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Add ability to handle objects to `mergeWithReplaceArrays`

This renames `mergeWithReplaceArrays` to `mergeWithReplace` and adds functionality for working with objects. I'm opting to extend the existing util after I found that objects are not the only concern In reviewing prior work #14165 that dealt with arrays. Defaulting `replaceObjectProps` to `false` keeps the existing behavior in  place for other usages of `mergeWithReplace`, limiting the chance for regressions in rke2 yaml.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

* Unit test object merging behavior

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>

---------

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-04-29 10:15:40 -07:00
momesgin 8f40e09040
Fix RKE2 Addon Config Values Persistency (#14165)
* fix mistakenly mutating object

* lint

* add mutateOriginal flag to mergeWithReplaceArrays

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-04-22 14:16:14 -07:00
momesgin 6d9c8b9947
fix machinepool chips color for negative numbers (#14128)
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2025-04-14 15:46:49 -07:00
Evgeniya Vashkevich 8e3dbcf184 fixed lint 2025-04-08 12:23:06 -07:00
Evgeniya Vashkevich 3fb411ff8c moved initsSchedulingCustomization method 2025-04-08 12:12:30 -07:00
Evgeniya Vashkevich 17d4ff6cfe Fixed feedback left from scheduling customization feature 2025-04-02 10:32:57 -07:00
Mo Mesgin 2d48b9157a forwardport fix for vsphere cpi/csi config 2025-03-14 12:57:23 -07:00
Evgeniya Vashkevich ed61e6eaff
[FIX] Scheduling customization adjustments 2025-03-11 08:13:02 -07:00
Alexandre Alves 81dfcdf154
fix issue with CA cert bundle not resizing properly by displaying its parent component under a v-if (#13624) 2025-03-11 09:00:44 +00:00
Evgeniya Vashkevich 4594c0c213 Adjusted for feedback 2025-03-10 12:41:45 -07:00
Evgeniya Vashkevich 2812b1d180 Fixed some of th ecomments and #13630 2025-03-10 12:41:45 -07:00
Evgeniya Vashkevich 3cc1313069
[FEAT] Added PDB AND PC support for cluster agent (#13521) 2025-03-03 16:27:24 -08:00
Evgeniya Vashkevich 06c788e7a9
Migrated editing imported cluster to Vue (#13216) 2025-02-03 13:43:57 -08:00
Nancy 23c0cdb82b
Fix rke2 addon validation (#13017)
* add codemirror error reporting

wire in codemirror validation to rke2 addon config

update addon config validation status when list of available addons changes

* added e2e test for addon config validation;

* account for codemirror being used with no options
2025-01-09 13:08:39 -08:00
Mo Mesgin c4510f6cce use mergeWithReplaceArrays to merge array values on add-on yaml editor 2024-11-27 14:36:49 -08:00
Mo Mesgin e177668f80 refactor getting feature flag + check provider before running the logic 2024-11-08 13:11:38 +00:00
Alexandre Alves d1a5d6beba
update data directories inputs to match new user interface + update unit tests (#12367) 2024-10-29 16:16:13 +00:00
Francesco Torchia a1152d7df4
Merge pull request #12301 from torchiaf/6821-harvester-cloud-provider
Fix rke2 payload
2024-10-21 19:54:13 +02:00
Richard Cox 77e91a4185
Merge pull request #12039 from richard-cox/fix-node-drivers
Fix two node driver based issues
2024-10-21 14:50:39 +02:00
Francesco Torchia 6ee49092c8
Fix harvester-cloud-provider payload
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-10-21 10:13:27 +02:00
Richard Cox b493cf8ec6 vpshere secrets 2024-10-09 10:40:44 +01:00
Mo Mesgin d6f3b0bfee fix initial additionalManifest render issue 2024-10-04 11:22:51 +01:00
Mo Mesgin b67cd157a3 split RKE2 Addon Configuration out into multiple tabs 2024-10-04 11:22:51 +01:00
Phillip Rak 0d6987f41f Correct keys for other instances where `set` was replaced
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-27 15:21:13 -07:00
Phillip Rak 4236b21448 Correct key for version info assigment
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-27 15:10:43 -07:00
Richard Cox 4d4c06f624 Merge pull request #11984 from richard-cox/node-driver-fixes
Fix two node driver based issues
2024-09-26 16:15:57 +01:00
Cody Jackson 5052c2a8e8 Enabling `vue/require-explicit-emits` linting rule
https://github.com/rancher/dashboard/issues/11961
2024-09-19 09:58:53 -07:00
Nancy 85c5c28c22
Vue3 fix unit tests (#11776)
* remove $set from AKS validators

* fix cruGKE not rendering

* fix most aks unit tests

* fix crueks and eks config unit tests

* fix eks networking and nodegroup unit tests

* fix gke unit tests

* fix consumption gauge test

* fix namespacefilter tests

* fix command and taints unit tests

* fix questions unit tests

* fix hpa and service unit tests

* fix registryconfigs unit tests

* fix job unit tests

* fix longhorn unit tests

* fix addextensionsrepos unit tests

* fix rke2 basics unit tests

* fix container shell unit tests

* fix last aks pool test

* fix mount tests

* fix namespace and pv unit tests

* fix codemirror unit tests

* clean up aks, boolean, namespacefilter unit tests

* fix namespacefilter test

* remove redundant test case
2024-09-10 08:07:21 -07:00
Francesco Torchia 1723f4bdbe
Fix Unsupported Azure warning message, show it only if Azure is an option
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-09-05 09:47:40 +02:00
Phillip Rak 627952a522 Unit test updates
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:54 -07:00
Phillip Rak c90ef43ed0 Render rke2 cluster creation form
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:07:03 -07:00
Phillip Rak 31646c2eae Replace `set()` with assigment
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:07:03 -07:00