Commit Graph

1246 Commits

Author SHA1 Message Date
Francesco Torchia d1e7734ece
jquery from position.js, select.js
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-02-22 13:05:42 +01:00
Francesco Torchia f76a53c02c
Merge pull request #7998 from torchiaf/fix/7761
Monitoring tab, fix cards layout
2023-02-20 14:48:59 +01:00
Giuseppe Leo 78d32471d1
When creating a PSACT value as YAML, you are not redirected back to the Pod Security Admissions tab (#8190)
* Add location redirection to the model configuration

* Add routing method to the CruResource editor containing Yaml editor as well
2023-02-20 10:36:41 +01:00
Nancy d9794c375c
add enable psp checkbox to custom chart uis (#8163)
* add enable psp checkbox to custom chart uis

* fix chartpsp checkbox import

* expand chartpsp tests, fix path in chartpsp component
2023-02-17 15:32:08 -07:00
Neil MacDougall f69dcff49d
Ensure build fails when it fails! (#8201) 2023-02-17 17:09:29 +00:00
Giuseppe Leo e5ee9e873c
Change PSP label for the default (#8199) 2023-02-17 16:02:40 +01:00
Richard Cox a4c1caf0f0
Merge pull request #8170 from richard-cox/worker-imports
Disassociate the steve worker creator from the steve store
2023-02-16 15:45:48 +00:00
Richard Cox 0435f04cdb
Merge pull request #8041 from torchiaf/fix/8034
Remove matching chart UI component on RELEASE_NAME
2023-02-16 13:41:53 +00:00
Qingyang Nong b547ba97a4
HARVESTER: Fix kubernetesVersionExtension is '' on the create Harvester storage class page (#8169)
* HARVESTER: Fix kubernetesVersionExtension is ''

* fix typo in kubernetesVersionExtension regex

---------

Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
2023-02-15 14:15:49 -07:00
Nancy 21167e1dc9
fix labeledselect getOptionLabel to use reduce prop when labels change (#8176)
* fix labeledselect getOptionLabel to use reduce prop when labels change

* Add unit tests

---------

Co-authored-by: cnotv <giuseppe.leo@suse.com>
2023-02-15 09:19:48 -07:00
Alexandre Alves 5f91d46762
Node Pool fake machines bug (#8151)
* update fakeMachines naming matching function

* update code based on PR comment

* Final tweak
- isElementalCluster will always result in the same `machinePoolInfName.includes(machineFullName)`, so exit early with it
- tidy up var names

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Richard Cox <ricox@suse.com>
2023-02-15 14:01:32 +00:00
Alexandre Alves 1834e0b738
fix css icon margin (#8153)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-14 17:11:42 +00:00
Giuseppe Leo f3f7a2a022
PSA: Update PSA default (#8133)
* Change inputs order for PSP/PSA/CIS; Code cleanup

* Add CIS override input; add and correct i18n for CIS

* Change label and input status, based on criteria

* Prevent issues for missing CIS profile args

* Disable logs to avoid code pollution

* Fix test issue

* Update PSA template default label

* Change PSACT on CIS changes if above 1.25

* Add banner for CIS cases

* Remove duplicated logic

* Correct issue after rebase
2023-02-14 18:03:38 +01: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
Shavindra 7d657c58ba
Show node labels on cluster node list view. (#7312)
* Show node labels on cluster node list view.
* Display min number by default.
2023-02-14 16:23:47 +00:00
Richard Cox 1a448de513 Disassociate the steve worker file from the steve store
- Alternative fix to https://github.com/rancher/dashboard/pull/8064
- Assign the steve worker creator to the store via plugin
- This avoids package build errors (in harvester) due to the package build process missing web worker specific build config
- On the downside this means rancher/steve specific stuff is applied at a more global level
2023-02-14 13:42:08 +00:00
Giuseppe Leo f4029fcd5c
Update PSACT warning (#8165) 2023-02-14 13:21:04 +01:00
Giuseppe Leo fb590d2539
LabeledSelect: Displayed label does not update with options (#8154)
* Update displayed value in labeled select inputs if option labe changes but not the value

* Replace generic label and key with props

* Add i18n
2023-02-14 10:42:30 +01:00
wujun dce47f6d4a
polish namespace (#7915)
* polish namespace

* fix no getter.filterNamespace case

* add notFilterNamespace document

* HARVESTER: fix review comment

* add changeAllNamespaces comment
2023-02-13 16:52:06 -07:00
Alexandre Alves ddb1993847
Bumping shell pkg version (#8155)
* bump shell version

* bump shell pkg

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-13 17:06:19 +00:00
Alexandre Alves bb754c97c6
gate some critical methods that were introducing errors on elemental while running on v2.7.0 dashboard (#8148)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-13 16:49:12 +00:00
Qingyang Nong 83d0f8dd9c
HARVESTER: Fix Cannot edit Harvester namespace (#8127) 2023-02-10 11:11:03 -07:00
Alexandre Alves d5254a859a
bump shell version (#8141)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-10 11:30:03 +00:00
Alexandre Alves a67b7e1b81
fix issue with dependency on @pkg/harvester on shell (#8132)
* fix issue with dependency on @pkg/harvester on shell + fix console warning

* address PR comments

* add vue-virtual-scroll-list as a dependency of shell

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-10 09:38:23 +00:00
Shavindra 26cf8c6872
Allow user to select Fleet repo protocol select. (#7648)
* Allow user to select Fleet repo protocol select.

* Fix protoccol select.

* Fix PR comments.

* Fix translations.
2023-02-10 09:31:37 +00:00
Neil MacDougall b1ac45d18e Address PR feedback 2023-02-09 20:37:07 +00:00
Neil MacDougall 4bb0168444
Improve presentation of Harvester Manager Built-in Extension (#8004)
* Improve presentation of VM Built-in Extension

* Update description following PR feedback
2023-02-09 20:15:34 +00:00
n313893254 c578ff4565 HARVESTER: Fix compatibility with Rancher v2.6.x 2023-02-09 20:43:37 +08:00
Alexandre Alves ebcad3da0b
Bumping shell pkg version (#8102)
* bumping shell package version for release

* bump shell version

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-09 12:09:19 +00:00
Alexandre Alves 6516e094b8
Extensions enhancements (#7777)
* add extensions API methods
---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-02-09 10:58:29 +00:00
Francesco Torchia 75df30a1fb
Merge pull request #8098 from torchiaf/fix/8094
ResourceTable, fix Enter shortcut
2023-02-07 10:05:13 +01:00
Giuseppe Leo 07cd8c1a4a
Selection for PSA is cleared after changing the RKE2/K3S cluster version (#8101)
* Do not reset PSA template on k8s version change

* Reset PSP and PSA if K3 or restore if RKE2

* Keep PSA value in case of K3S selection

* Remove PSA last default value as it's never reset due latest requirements
2023-02-06 21:50:35 +01:00
Dai Yuzeng f3f0cd3a1f
HARVESTER: duplicate receiver name is invalid now (#7974)
* HARVESTER: duplicate receiver name is invalid now

* use form validation for duplicated receiver names

* update duplicate receiver name error text

---------

Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
2023-02-06 13:30:34 -07:00
Giuseppe Leo 3cd71af3e7
Allow to select PSA for K3S versions (#8103) 2023-02-06 20:38:29 +01:00
Giuseppe Leo c56eb8a5a7
Display PSP legacy banner in charts if RKE2 and minor than 1.25 (#8099) 2023-02-06 20:38:09 +01:00
wujun f5b59e8efd
HARVESTER: Fix is compatible with rke and csi version range (#8080) 2023-02-06 11:01:16 -07:00
Alexandre Alves 31ec71f75c
fix issue detected on advanced filtering where searching for a text with an uppercase yelded no results (should be case insensitive) (#8055)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-02-06 17:07:15 +00:00
Alexandre Alves d00e8dc4cd
fix styling of visible cols in advanced filtering (#8071)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-06 17:06:59 +00:00
vickyhella 2ca5fed6b0
Update Chinese translation (#8076) 2023-02-06 09:26:15 -07:00
Francesco Torchia 6f81986c31
ResourceTable, fix Enter shortcut
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-02-06 12:32:00 +01:00
Alexandre Alves c40558ab2b
bumping shell package version for release (#8096)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-02-06 10:32:51 +00:00
Richard Cox 80e5c4f304 Fix broken workload `Add Container` button
- Also fixed text flush to icon
2023-02-03 13:51:18 +00:00
Phillip Rak fe58a9075c
Merge pull request #7990 from catherineluse/ingress-service-text
Add text to help with Services and Ingresses
2023-01-27 15:45:10 -07:00
Alexandre Alves 0e33fd4c13
getting elemental changes on cluster provisioning back to rancher dashboard (#7543)
* getting elemental changes on cluster provisioning back to rancher dashboard

* code cleanup

* apiversion created from machineCconfig schema attributes

* add machine-config loader to load it from an extension

* fix issue where elemental cluster details could not be displayed + minor changes and fixes

* fix bug where elemental infrastructureRef.name for elemental start with nc- and therefore was generating a fake machine when it shouldnt + cleanup prov cluster model

* prevent code change

* getting k8s file back up to master state to avoid complex merge conflicts

* getting k8s file back up to master state to avoid complex merge conflicts

* applying changes to cluster.x-k8s.io.machinedeployment

* Address PR feedback

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2023-01-27 16:12:47 +00:00
Neil MacDougall 87a6bbd9fd
Fix rendering issues on Helm Install page (#8007) 2023-01-27 16:07:13 +00:00
Alexandre Alves 84e260d95e
Manual Refresh Performance Option (#7904)
* update resource fetching on list views so that secondary resources follow the logic of manual refres
h and/or incremental loading if the main resource defines it

* Update resource-fetch logic to take into consideration the storeType for each individual request + fix logic regarding namespace for fetching resources + update missing resources logic (nodes and prov clusters)

* fix tipo

* reinstate hash system to handle requests for nodes and prov cluster lists

* revert mutation code + add check to register type if it doesnt exist on loadDataPage action

* fix issue with timeout that wasnt working properly for the update of live and delayed cols after manual refresh

* Take in to account the per resource count when calculating `limit`
- This means primary resources with a smaller amount don't restrict secondary resources with larger amounts

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-01-27 14:32:42 +00:00
Catherine Luse aa8514d8b2
Avoid showing YAML in form mode (#7924) 2023-01-27 12:40:40 +00:00
Francesco Torchia e0487bf8d5
Remove matching chart UI component on RELEASE_NAME
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-01-27 10:36:18 +01:00
Phillip Rak 6ee8bd1fdb
Update shell/assets/translations/en-us.yaml
Signed-off-by: Phillip Rak rak.phillip@gmail.com
2023-01-26 19:06:08 -07:00
Phillip Rak 1dd6646cb7
Update shell/assets/translations/en-us.yaml
Signed-off-by: Phillip Rak rak.phillip@gmail.com
2023-01-26 19:05:56 -07:00