Commit Graph

56 Commits

Author SHA1 Message Date
Francesco Torchia 17677f3499
Add Unknown to architecture possible values; Add translations
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-16 17:51:44 +02:00
Francesco Torchia 12f0c2feee
Add tooltip for mixed architecture
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-15 13:05:20 +02:00
Francesco Torchia e438f5cb99
Capitalize Architecture column/label
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-15 13:05:20 +02:00
Francesco Torchia e83eeb8812
Add architecture info in home page - clusters table
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-04-15 13:05:19 +02:00
Alexandre Alves 74e543c524
show registration tab only on hosted providers with private endpoint/network (#10319)
* change condition to show registration tab only on hosted providers with private endpoint/network + adds unit tests

* address pr comments

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2024-02-05 10:08:40 +00:00
Alexandre Alves 21327c54c0
Update logic of 'hasError' in 'provisioning.cattle.io.cluster' model (#10366)
* update logic of hasError in prov cluster model

* working on unit tests

* fix code logic and finish unit tests

* fix lint issue

* address pr comments

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2024-02-02 09:27:06 +00:00
Francesco Torchia 27dc8cba94
Add null checks for Clusters agentConfig property
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-01-18 17:48:33 +01:00
Nancy 4cca5faf81
AKS provisioning extension (#9669)
Adds a built-in AKS provisioning extension to replace the embedded ember pages, as well as modifications to the provisioning UI to support other non-rke2 provisioning extensions
2024-01-11 07:52:45 -08:00
Evgeniya Vashkevich 4aba0acfec
Fixed comments on PR #9735 (#10160)
* Fixed comments on PR #9735
2023-12-21 09:57:57 -08:00
Neil MacDougall 83550bd0ca
Yaml Editor: Auto-fold section in RKE2 cluster config (#10108) 2023-12-14 13:22:44 +00:00
Francesco Torchia 108e86b6e5
Set namespaceLocation to null if local cluster is not visible
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-03 10:38:54 +01:00
Francesco Torchia b03736d617
Add namespaceLocation to provisioning cluster model
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-02 15:25:25 +01:00
Francesco Torchia e80e807940
Link namespaces in mgmt cluster to local cluster
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-02 15:25:24 +01:00
Evgeniya Vashkevich 6d4f75afaf
Fixed RKE cluster being shown as Imported (#9868) 2023-11-01 13:02:37 -07:00
Neil MacDougall c9e1a19396
Extension support for custom provisioning (#9246)
* Extension support for custom provisioning

* FIx lint issues

* Discovery / Tweaks
- fix issue where namespacesOverride was lost
- tidy up PROVIDER
- try to handle missing provider=type url param (could be missing extension-params)
- added a few comments to comments to come back to

* Names and typings
- change param --> customParam to make it clearer it's not url params
- add labels-annotations to shell types

* Wire in provider detailTabs
- as per original readme this should be made generic (extension point working directly with ResourceTabs)

* Update IClusterProvisioner & docs

* Improvements / Changes to support proving out DO extension
- cluster hooks optional
- buff up save hook (and pass in cluster when calling apply fn)
- move normalizeName into generic place
- bring back async create machine config
- hack for do extension (map example provider to do provider)

* updates, add optional saveCluster, add missing kube file
- saveCluster complements hooks, doesn't skip handling of addons, etc
- ensure register hooks take the `this` context in all worlds

* Adding docs

* Updates
- location config based changes
  - change customParams to context
  - add query param
- add new extention point to add tabs to cluster create cluster config section
- fixed some typing
- fixed issue where cluster was not passed to before / after hooks (only important if 'this' changes

* Changes following review, fix `t` in plugins

* Fix linting

* Docs updates, pass through more edit/view things

* Conditionally show the namespace grouping in the cluster list
- means users can differentiate between clusters with same name in different namespaces
- useful when clusters created via extension provisioner where ns can be selected

* docs tweaks, actually include the provisioning page in docs

---------

Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-07-11 22:17:57 +01: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
wujun 717a2b2c14
HARVESTER: add bare-metal container and mcm support (#8754)
* HARVESTER: add bare-metal container and mcm support

* Harvester: Fix re-render old route component

* HARVESTER: fix services and hide repositories

* HARVESTER: add svg icon

* HARVESTER: add harvester version in explorer page

* HARVESTER: change openRancherManagerSupport => isRancherInHarvester

* HARVESTER: move method to models type

* HARVESTER: enhancement TopLevelMenu when use embedded rancher

* HARVESTER: polish harvester mode judgment

* HARVESTER: Add namespace resource quota help text

* HARVESTER: remove service filter

* HARVESTER: set harvester-baremetal-container-workload to false

* HARVESTER: fix svg & namespace component

---------

Co-authored-by: n313893254 <n313893254@126.com>
2023-06-15 13:28:08 -07:00
Neil MacDougall 68f3ffbcaa
Hostname truncation: Update to sync with backend (#8790)
* Update tio sync with backend

* Added getter

* Fix lint
2023-05-05 10:05:16 +01:00
Alexandre Alves 9b23c52674
add check to resourceMethods prop so that UI doesnt fail when clusterTemplatesSchema is empty (#8414)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-03-14 09:01:28 +00:00
Giuseppe Leo f081940a41
Add a warning alert when migrating to 1.25 if they have PSPs. (#8246)
* Prevent to display PSP related banners if no PSP active

* Add custom API request for PSP

* Prevent PSP check on cluster creation

* Add PSPS type

* Correc PSP deprecation message on upgrade, to mention automatic removal

* Correct banner loading and exclude generic message

* Prevent check of PSP if the cluster is reconciling

* Remove deprecated logic about PSP templates check

* Restrict invalid PSP check only on k8s upgrade
2023-02-28 17:55:48 +01:00
Richard Cox 95fdf80dcb
Merge pull request #8224 from richard-cox/stale-management-resources
Fix stale management cluster resources
2023-02-23 11:58:24 +00:00
Shavindra d7e5dc50c4
[2.7.2] Handle nodeGroups undefined for imported EKS cluster (#8196)
* Handle nodeGroups undefined for manually imported RKE cluster.

* Forward part changes from #8222

---------

Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2023-02-22 15:41:12 +00:00
Richard Cox 90ccf3f7e1 Fix issue where editing number of machine pools can cause dev white page errors 2023-02-21 16:59:58 +00:00
Neil MacDougall 2dadea1690
Allow kubeconfig to be downloaded/copied when cluster is not ready (#7552) 2022-12-19 22:45:35 +00:00
Neil MacDougall e06dfb1d5a
Add explore button to cluster detail view (#7695)
* Move PSPs to advanced section

* Add explore button to cluster detail view
2022-12-15 10:14:13 +00:00
Nancy 002c984e0f
refactor promptModal component props (#7435)
* use modalData.componentProps to pass props to custom modal components

* linting errors
2022-12-06 09:41:17 -07:00
Neil MacDougall f0df19764f
Add node inactive warning indicator (#7548) 2022-11-28 09:15:15 +00: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
Cody Jackson 02fb8f0648 Hide the windows command from k3s cluster
fixes rancher/dashboard#7126
2022-10-10 13:56:33 -07:00
Cody Jackson 06b6f358fb Disabling explorer links if the cluster is in an error state
rancher/dashboard#7036
2022-10-04 08:51:30 -07:00
Jordon Leach c41223692a
Add gke hosted provider to token creation (#7031) 2022-10-04 10:07:14 -04:00
Jordon Leach b78e244c07
Add k3s clusters to cert rotation options (#7060) 2022-09-30 17:44:34 -04:00
Jordon Leach 172bb2b0b9
Add warning banner for zero desired nodes in eks (#6850)
* Add warning banner for eks desired node groups

* Fix desired node group warning to filter for all node groups
2022-09-14 13:37:26 -04:00
Neil MacDougall 42a98b0adc
Show if there is an updated RKE Template available for a cluster (#6671)
* Add notification if update to an RKE template is available

* Add template name and upgrade info to cluster detail page
2022-08-22 15:58:09 +01:00
Neil MacDougall e1c62c56aa
Add feedback that kube config has been copied to clipboard (#6693) 2022-08-19 09:46:03 +01:00
Catherine Luse 1be9916aa7
Merge pull request #6396 from catherineluse/clusters
Only label imported clusters as imported
2022-07-21 15:42:36 -07:00
n313893254 09b873fbd1 HARVESTER: Fix Harvester clusters have no actions 2022-07-19 20:16:33 +08:00
Catherine Luse 9427509f1a Only label imported clusters as imported 2022-07-18 21:00:56 -07:00
Jordon Leach 8a09180184
Add registration tab to imported aks or eks clusters (#6226)
* Add registration tab to imported aks or eks clusters

* Add ready state check for eks and aks registration tabs
2022-07-18 11:09:21 -04:00
Richard Cox 540581436b Revert "Display node IPs in cluster management list view. (#6320)"
This reverts commit aec4949b4f.
2022-07-15 10:15:38 +01:00
Shavindra aec4949b4f
Display node IPs in cluster management list view. (#6320) 2022-07-14 10:40:01 +01:00
Neil MacDougall 5bca2ca529
Fix cluster pod count on home page (#6358) 2022-07-13 17:34:11 +01:00
Neil MacDougall fdc85696c9
Improve machine pools when there are a large number of machines (#6132)
* Improve cluster details machne pools information

* Remove unused code
2022-06-23 09:59:06 +01:00
Shavindra 9888d4ef2e
Set confirmRemove getter for deletion of clusters. (#6158) 2022-06-13 17:58:42 +02:00
codyrancher b00bb18b76
Merge pull request #6127 from codyrancher/timeout-messaging
Increase the timeout and provide better messaging for the timeout when creating clusters
2022-06-09 09:03:05 -07:00
Cody Jackson a406a2b3e0 Increase the timeout and provide better messaging for the timeout when creating clusters
rancher/dashboard#6010
2022-06-08 13:41:05 -07:00
Richard Cox bfd5506a5f Remove double line on Cluster Management list action menu
- double lines (and other things) are normally handled when running through the base availableActions
- models then provide an _availableActions getter for specific actions
- for the cluster provisioning model it was override availableActions
2022-06-08 16:32:24 +01:00
Neill Somerville 5b71ac100c
Merge pull request #5988 from neillsom/neill/5900/cluster-delete-multiple-times
Prevent cluster management from allowing cluster deleting multiple times while cluster is transitioning
2022-06-07 16:24:46 -07:00
Alexandre Alves 1f7cb4bc79
Cluster Manager and Cluster Dashboard show different age for same cluster (#5992)
* create custom model prop for provisioning.cluster in order to display correct age of a cluster in the case of an upgrade in rancher version

* simplify logic by setting creationTimestamp prop on resource-class model

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2022-06-06 14:23:25 +01:00
Shavindra 65a115fd8e
Confirm cluster delete with cluster name - 5780 (#5887)
* Confirm cluster delete with cluster name.
2022-06-06 09:25:24 +01:00