mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-21 16:22:08 +08:00
4c60f8ec340ebef12d33d2bcdff477d8b93b6e3b
19
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
e66b61d0d1 |
feat: add the Kube-OVN VPC Egress Gateways page (#1263)
* feat: add the Kube-OVN VPC Egress Gateways page List, create and edit VpcEgressGateway resources under Overlay Networks > NAT & Internet, right below the NAT gateways, which are now labeled NAT Gateways. The form covers the VPC, replicas, internal and external subnets, SNAT policies, internal and external IPs, BFD and the bandwidth limit, and keeps the fields it does not show. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: add the VPC BFD port and link the Egress Gateway BFD warning to it The VPC form gets a BFD Port tab with the enabled switch and its IP, which an Egress Gateway with BFD needs. The gateway form now checks the VPC's spec.bfdPort instead of a spec.bfd field that VPCs don't have, and its warning links to the VPC. Bandwidth also takes quantities such as 1Gi, and a gateway that only uses selectors no longer needs a policy. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: check the Egress Gateway and BFD port against what Kube-OVN accepts Kube-OVN runs as a secondary CNI in Harvester, so an Egress Gateway's internal subnet has to sit on a virtual machine network and its external subnet on a network attachment; the subnet lists now offer only those. The internal and external IPs must be unique and inside their subnet, other than its gateway, and the two subnets must differ. Selectors don't work in that mode, so a gateway needs a policy again. Policies set with IP blocks show them, and BFD intervals hidden while BFD is off fall back to their defaults. Save stays disabled while either form is invalid, each field shows its own error, and a tab with errors is marked. The VPC's BFD port IP can't be in one of its subnets, its tab warns when it is turned off while gateways of the VPC use BFD, and the gateway's BFD warning opens the VPC's BFD Port tab in a new tab. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: show why Save is disabled on the Egress Gateway and VPC forms Every field that can block Save shows its own message once touched: the name, the VPC and both subnets, which have none when left empty. When the chosen VPC has no subnet on a virtual machine network, the Internal Subnet placeholder says so. A subnet can only be in one policy: the gateway leaves a source out of SNAT when any policy has SNAT off for it, so the same subnet in a second policy would silently ignore one of them. Enable SNAT explains what turning it off needs. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: keep one Egress Gateway policy for each SNAT setting Kube-OVN merges the sources of every policy with the same SNAT setting, so a second policy with SNAT on (or off) only adds to the first one. The form now flags it on the second policy, Add Policy adds the setting that isn't used yet and goes away once both exist, and the Policies tab says a gateway has at most two policies. Policies with IP blocks are left out of the check, since the form can't move those. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: ask for the Egress Gateway subnets with and without SNAT Kube-OVN puts the sources of every policy into two sets, with SNAT and without, and leaves a source out of SNAT when any policy has SNAT off for it. A list of policies with a checkbox each let the form build policies that only repeated or silently overrode each other, so the Policies tab now asks for those two sets: Subnets with SNAT and Subnets without SNAT, a subnet in one list only and at least one subnet in all. Saving writes one policy for each list that has subnets. Editing reads existing policies the way Kube-OVN applies them, so a subnet that was in both lands in Subnets without SNAT, and IP blocks set outside the form are kept and shown read-only. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: go back to the Egress Gateway policy list The VpcEgressGateway CRD and the issue describe policies as a list, each with snat and subnets, and Kube-OVN accepts any number of them: policies with the same SNAT setting just work together. The two subnet lists hid that shape and rewrote existing policies, and they couldn't mark "one of these two" as required. This puts back the policy list, where each policy needs a subnet and a subnet can be in one policy only, which is the one case that changes what the gateway does. The Policies tab now says how policies work together. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: ask for the Egress Gateway subnets with and without SNAT again Kube-OVN only uses which subnets have SNAT and which don't, so two lists, Subnets with SNAT and Subnets without SNAT, hold the same data as the policy list, are clearer to fill in, and can't build a policy that repeats or overrides another. Saving writes one policy for each list that has subnets. Neither list is marked required: the Policies tab says one subnet in either list is needed, and both lists show that message once touched while they're empty. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: show the Egress Gateway policy rule once for both subnet lists One subnet in either list is enough, but a warning on each list read as if both lists were required. The lists no longer show a warning; one message under them says to select at least one subnet in either list while both are empty, next to the tab mark and the disabled Save. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: say why the Egress Gateway subnet lists are empty The policy lists only offer subnets of the VPC chosen on the Basic tab, so before a VPC is chosen they were empty with no reason given. They now say to select a VPC on the Basic tab first, or that the chosen VPC has no subnets. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: make the Egress Gateway fields that need a VPC say so Internal Subnet and both policy lists only offer subnets of the chosen VPC, so they're disabled until a VPC is chosen and say to select one first. The policy lists keep their dropdown attached to the field, so it follows the field when a chip is removed instead of leaving a gap. The BFD intervals are labeled Receive Interval and Transmit Interval, which fit next to their unit, with a tooltip each. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: keep the external subnet out of Egress Gateway policies and check usable IPs Kube-OVN reroutes a policy's sources to the gateway, so the gateway's own external subnet as a source would send its outbound traffic back into it; the policy lists no longer offer it and the form flags it. Static IPs must also be usable addresses: Kube-OVN assigns from the network address + 1 to the broadcast address - 1, so those two are rejected along with the gateway. The policy rule is an error banner like the IP count rule, the BFD multiplier has its own message, the IP Addresses and Bandwidth instructions are hidden on the read-only page, and the VPC's warning about gateways that need its BFD port reads right for one gateway. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * chore: declare ipaddr.js, which the subnet model imports It was only installed as a dependency of webpack-dev-server. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: support PrimaryCNI Egress Gateways Kube-OVN v1.17 can send a gateway's traffic out through the pod network when it isn't the primary CNI, as on Harvester. Such a gateway takes no external subnet, external IPs or bandwidth, so the form couldn't save one. The Basic tab now picks the external network, locked after creation, and hides the fields PrimaryCNI doesn't take. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: offer Primary CNI only when the cluster's CRD has it Kube-OVN v1.16, in Harvester v1.10.0-rc1 and older, has no externalNetworkMode and requires an external subnet, so a Primary CNI gateway was rejected there. The form reads the CRD's schema definition and only shows the External Network choice when the field exists. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> --------- Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> |
||
|
|
784c22e27e |
fix: show resource counts for all side navigation items (#1196)
* fix: show resource counts for all side navigation items The side navigation looks up the count of a nav item by its name, but the counts are keyed by the K8s resource type. Many Harvester nav items are named differently than the resource they list (e.g. harvesterhci.io.volume lists persistentvolumeclaim), so no count was shown for them. Some list views also show only a subset of their resource type, so the plain count would not match the list. Override the count getter of the harvester store: - Resolve the nav item to the resource type it lists, using the same fallback to the configureType resource as schemaFor. This fixes Hosts, Alertmanager Configs, Cluster Flows, Cluster Outputs, Flows, Outputs and Secrets. - Count only the subset shown by the list for Volumes, VM Networks, VM Backups, VM Snapshots, Volume Snapshots, Cloud Configuration Templates and Storage. The matches are counted per namespace once per store list using sharedComputed. - Like the list views, do not count resources in system namespaces when "All Namespaces" is selected. Steve's counts endpoint only returns the total per resource type, so the filtered counts are computed from the store list and are only available once that list is loaded. Until then these nav items show no count, unless there are no resources of that type at all (then 0). The dashboard loads PVCs and networks, the VM list PVCs and backups, the other resources are loaded when their list is opened. Related to: https://github.com/harvester/harvester/issues/11984 Signed-off-by: Volker Theile <vtheile@suse.com> * refactor: get the side navigation counts from the server Stop loading full resource lists and filtering them in the browser to get the side navigation counts. - Nav items listing all resources of a type use the counts endpoint, through the resource type of the nav item. - VM backups, VM snapshots, volume snapshots, storage classes, cloud config templates and VM networks request their subset from /v1/harvester with a page size of 1. These requests run again when the counts endpoint reports other numbers for the type, and when the namespace filter changes. - Namespaces count the already loaded namespaces that are neither system nor Fleet managed. - Volumes have no count: the list hides volumes that are only marked by annotations, which the API cannot filter on. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: keep the side navigation count helpers in the store getters Move them out of their own file, next to the count getter that uses them. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: make the side navigation count requests more robust - Ignore a late response of the previous cluster. Resetting the request ids when loading a cluster let it overwrite the count of the new one. - Keep the watchers when a cluster left while it was loading finishes loading after the new one. - Show no count instead of 0 on Harvester v1.3, which ignores the query and sends all resources without a count. - Hide the storage network by its generated name. Networks created before Harvester v1.4 do not have the hash label, and an upgrade does not add it. - Stop refreshing after leaving the product, cancel pending refreshes when the watchers stop, and cope with the store module being unregistered when logging out. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: count only the settings the Settings page shows The nav item showed the total of all Setting resources, but the page only shows the allowed ones that exist in the cluster and are supported by its version. Move these rules into a visibleSettings getter that both the page and the count use, so that they always agree. SettingList no longer needs its feature flag check. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * test: remove a Settings page test that was committed twice Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: show the number of volumes in the side navigation The Volumes list hides golden image volumes and the temporary volumes CDI uses to populate a volume, so the total of the counts endpoint would be wrong. Golden image volumes are only marked by an annotation, which Harvester's API cannot filter on, but each one belongs to a DataVolume owned by its VM image. So request the volumes that are not owned by another volume, and the DataVolumes owned by a VM image, and show the difference. Every nav item with a list now has a number, so remove NO_COUNT. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> --------- Signed-off-by: Volker Theile <vtheile@suse.com> Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> Co-authored-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> |
||
|
|
67ff2777d6 |
feat: add resource health dashboard in a Components tab (#1225)
* feat: add component health dashboard sections Add health summary and component health tables with severity filters and expandable check details. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * feat: use health API group for component health resources Update dashboard resource types to use the health.harvesterhci.io API group. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * feat: add component health ignore controls Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * feat: gate component health behind the componentHealth feature flag Only show the component health dashboard sections on Harvester v1.10.0 and later. Signed-off-by: Jack Yu <jack.yu@suse.com> * fix: address component health review comments - sort the health summary table by a severity rank - use buttons instead of anchors for restore and show more actions - let the affected resources list expand so every resource can be restored - widen the ignore popup and cap its height Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * refactor: split component health into dedicated components Move the health summary, component health tabs and ignore popup out of the dashboard page into components/health, and share the constants and helpers through utils/component-health. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * fix: sort component health by severity rank Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * fix: toggle health rows in place and tell empty filters from no checks - toggle the expanded message and resource ids by mutating the unwrapped arrays, the template does not pass refs - show "No checks match the selected filters" when the severity filters hide existing checks, keep "No issues detected" for a report without checks Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * refactor: fetch component health resources in their own components Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Jack Yu <jack.yu@suse.com> * feat: move health into a Components tab with the checks as sub-rows The dashboard showed the summary table, then side tabs with a second table for each component. It is now one table in a new Components tab next to the Events tabs: one row per component, which opens to its checks. Rows start closed, and the component name is a button so the keyboard can open them. The tab only shows when the addon's resources exist. The table's own filter box replaces the severity dropdown. It only looks at the table's own rows and the checks are in the sub-rows, so the rows give it the text of their checks, a row only shows the checks it found, and the rows it found open. Ignoring a check moves from a popover, which cut off its Reason field and Ignore button, to an RcModal that starts over each time it opens. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: use RcButton for the component health buttons The Ignore modal's button already was one. This moves the rest of them, the row's Ignore, Restore, the "show more" links and the component name, off the global btn classes. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: manage one ignore rule per check from the row's actions A check now has one rule, reached through the table's action menu: create it when the check has none, view, edit or delete it when it has one. View and edit use the same modal as create. This replaces the Ignore button and the Restore links, which could only delete a whole rule and said the check was restored when it wasn't. The modal's section titles were the radio group's h3, as big as the modal's own title. They follow what rancher/dashboard does in its forms now. The actions follow what the user may do. The rules are only loaded with their schema, and a list that fails no longer empties the table. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * refactor: let the tables filter by themselves and show resources as chips The filter had logic of its own on top of the table's. The nested table now filters its rows the way the outer one does, with what is typed in the box. Rows no longer open by themselves, which is how the other tables with sub-rows behave. Expand All and Collapse All are there instead, copied from what the table has from shell 3.0.15. Affected resources are chips under the name the UI has for their type, with the usual counter badge and the API version beside it. Ignored resources are outlined instead of filled, and the text of an ignored check is muted. The links use the shell's wording. The component rows lose Last Updated. The summary only has one time, for its counts as a whole, so it said nothing about the component in the row. They say Error instead of Critical, as the checks inside them do. The Node column goes, as nothing sets its label. The Components tab shows the number of errors as a badge, as nothing else on the page tells there are any. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * fix: name the ignore rule after its check and make its expiry clear - Name the rule the UI makes after its check, so Kubernetes refuses a second one for the same check. The row's menu only manages that rule. - Show the rule's current expiry above the durations, and the new one under them once a duration is chosen. Edit starts with none chosen, Save stays off until something changes, and a warning says when an expired rule would stay expired. - Delete the rule through the shell's delete prompt, like every other delete. - Say which list could not be loaded, instead of showing it as empty. - Keep the full count of affected resources, say how many ignored ones are left out of the list, and count them on Show ignored. - Drop the checks' Last Updated, which is the time of their whole report. - Leave out the row menu when no check has an action. - Mark the Components tab with the shell's alert icon when there are errors, with their number in its tooltip, instead of a badge. Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> --------- Signed-off-by: Jack Yu <jack.yu@suse.com> Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> Co-authored-by: Jack Yu <jack.yu@suse.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
560643d299 |
feat: forklift UI (#891)
* feat: forklift poc first commit Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: add migration and plan detail pages with progress tracking Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): UI based on the FIGMA Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Fixed config based on new figma changes Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): New changes added based on new figma Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Add the succeded state Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * Merge the new APIs Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Applied fix to select the proper data on network. Added condition to show critical Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Added icons, critical state, fix grids, action button Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Change to use the proper provider instead of a hardcoded Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Added pagination UI Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): FIxed the routing for the extension Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): route and router doesnt work properly on extensions Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): fixed to fix the icon on extension Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Added overflow hidden to mapping target list Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Added better handling on the saving and testing Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Remove test flags Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Changed based on review Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): fixed title and button Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Design changes Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Changed to Wizard Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): added the provider wizard Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Fixed some UI changes Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Removed wrong configs used for testing Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): update size Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): small fixes Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): small fixes after Copilot Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): small fixes after Copilot Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): reverted settings.json changes Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): small fixes after Copilot Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Fix the way it is registered Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): Fixed the type for VMware Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat(forklift): small changes before rebase Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: Added new API for the vms Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: Fix some labels Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: Added some final fixes to structure Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: added loading to provider steps Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> * feat: added comments from copilot review Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> --------- Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> |
||
|
|
b9334bafb7 |
feat: add overlay networks and underlay networks resources page (#938)
* feat: allow user to select kube-system ns Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add NICs tab when creating overlay network Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: only show NIC tab if ns is kube-system Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add NAT & Internet tabs Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add provider networks / vlan edit pages Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add edit pages Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: review comments Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: copilot review Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com> |
||
|
|
5985913f5e |
feat: add Host Networks tab list and edit pages (#920)
* feat: add Host Network tab Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add Host Network edit page Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add node selector tab Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: copilot review Signed-off-by: Andy Lee <andy.lee@suse.com> * fix: lint Signed-off-by: Andy Lee <andy.lee@suse.com> * fix: copilot review Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: add warning message if addon is not enabled or already hasone Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: some wordings in en-us.yaml Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com> |
||
|
|
4be3634c82 |
feat: add VPC network topology in detail page (#721)
* feat: add topology Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: add provider info Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * refactor: remove comments Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * fix: exclude default network Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: add VPC peering Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * refactor: remove regex Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * refactor: adjust row height Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: introduce auto layout Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> --------- Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> |
||
|
|
3dcc50980b |
feat: Introduce VM Import UI flow pages (#642)
* feat(vmimport): First working side nav attempt Add vmimport entries when the related resource actually exists aka addon was enabled Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): improved version that uses 'store.watch' instead of polling Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): further tuning of dynamic side navi load/unload Code formatting and commits. Also safeguard if something is wrong with the store Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): separate vmimport side nav entries from dynamic logic function registerAddonSideNav introduced in utils/dynamic-nav.js Decouples vmimport side nav entries from the hide/unhide based on addon status logic Makes it reusable in the UI with other AddOns in the future Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): add custom headers for HCI.VMIMPORT Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): add custom headers for HCI.VMIMPORT_SOURCE_V Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): add custom headers for HCI.VMIMPORT_SOURCE_O Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): array instead string passed to configureType Caused routing issues for CRUD operations Labels moved to labelTypes section to follow standards Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): registerAddonSideNav improved and refactored Clear comments, code refactoring, additional checks and validations Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): show correct status for virtualmachineimport Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): custom list components with ns grouping Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): 404 on refresh and missing menu entry Restores virtualType definitions to register routes synchronously, preventing 404 errors during page reload. Updates dynamic-nav to force-fetch addon data if missing, fixing hidden menu issues on direct page access. Restores explicit label keys for virtualTypes to ensure correct naming in the side navigation. Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): add edit form for VirtualMachineImport resource Adds a UI form for VirtualMachineImport to replace manual YAML editing. The form fetches VmwareSource and OpenstackSource objects for the source selection dropdown. It validates the VM name against RFC-1123 rules and filters out internal storage classes. Users can also configure network mappings via a dynamic list. Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): add edit form for VmwareSource Adds a UI to configure VmwareSource resources including the endpoint and datacenter fields. For authentication, users can either select an existing Secret or enter a username and password directly. The form handles creating the required Kubernetes Secret in the background when new credentials are provided. Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): add edit form for OpenstackSource Custom edit form for OpenstackSource resource. Creates new secret or lets users select existing secrets. Support all fields the CRD has. Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * chore(vmimport): vmware source default endpoint and datacenter renamed Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): add edit form for OvaSource OvaSource (new in harvester / vm-import-controller v1.7.0). Imports VMs from an OVA file using via HTTP or HTTPS. The form supports URL configuration and optional Basic Auth using a username and password. Users can also provide an optional CA Certificate for HTTPS verification and configure advanced HTTP timeout settings. VirtualMachineImport edit page to updated to include OvaSource in the source dropdown. Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * chore(vmimport): align tab names on openstacksource Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): import { TextArea } from '@components/Form/TextArea' not found Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): 'Destination Network' don't list all networks Online listed the 'mgmt' Network. Adjust to read all Virtual Machine Networks. Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): rename side-nav entry to 'Virtual Machine Imports' Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): OvaSource Auth tab throws error selecting existing secret Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): Add missing caCert input field to vmware source Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): use 'LabeledInput' instead of 'TextAreaAutoGrow' for cacert fields Changing the type allows labels to show up in the UI Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): Move vars into types files and reference them Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): Use 'currentProduct' value instead of hardcoded 'harvester' string Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): shorten 'selectedOption.raw' usage Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): Checks to make splice() usage more robust Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): re-use existing rfc1123 val function Move rfc1123 validation error message to l10n/en-us.yaml Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * fix(vmimport): var name typo in vmi edit rfc1123 check Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): vmi use 'FormValidation' and l10n for labels Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): oss use 'FormValidation' and l10n for labels Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): ovas use 'FormValidation' and l10n for labels Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * feat(vmimport): vms use 'FormValidation' and l10n for labels Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> * refactor(vmimport): Display error message at the top of the page Signed-off-by: Volker Theile <vtheile@suse.com> --------- Signed-off-by: Dominik Wombacher <dominik.wombacher@suse.com> Signed-off-by: Volker Theile <vtheile@suse.com> Co-authored-by: Volker Theile <vtheile@suse.com> |
||
|
|
30de2b1a18 |
feat: add support for configuring transparent hugepages (#414)
* feat: add support for configuring transparent hugepages Related-to: https://github.com/harvester/harvester/issues/5006 Co-authored-by: Moritz Röhrich <moritz.rohrich@suse.com> Signed-off-by: Tim Serong <tserong@suse.com> * fix: return empty object if hugepages can't be found for node Related-to: https://github.com/harvester/harvester/issues/5006 Co-authored-by: Andy Lee <andy.lee@suse.com> Signed-off-by: Tim Serong <tserong@suse.com> --------- Signed-off-by: Tim Serong <tserong@suse.com> Co-authored-by: Moritz Röhrich <moritz.rohrich@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com> |
||
|
|
6f90cae482 |
feat: add vGPU MIG Configuration page (#576)
* feat: add vGPU MIGConfiguration page Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add detail page Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: add banner Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: allow editConfig when status is empty Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: remove unneeded code Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: only show disable action if MIGConfig is enabled Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: some UI flow changes Signed-off-by: Andy Lee <andy.lee@suse.com> * feat: show configured profile in table Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: show configured profiles with requested count Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: based on review Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com> |
||
|
|
9ca9fdb521 |
feat: support for subnets and VPCs from UI (#374)
Signed-off-by: Andy Lee <andy.lee@suse.com> |
||
|
|
966d4d6709 |
Add HarvesterImageDownloader
Signed-off-by: Andy Lee <andy.lee@suse.com> |
||
|
|
dc74441d26 |
Latest changes from Harvester master - d7d9d4af8a88d677695d7aff47a81d52041dfcca
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com> |
||
|
|
118aaf16b7 |
Latest changes from Harvester master - a537c1ae38eb7030542ac371f24ae3336cd9d422
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com> |
||
|
|
0d825f667d |
Refactoring USB Device list component; add USBDevice model; add usbclaim type
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com> |
||
|
|
ee963b7c1c |
Add USB devices page skeleton
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com> |
||
|
|
ec3d88aeb7 |
Latest changes from harvester/master
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com> |
||
|
|
4f2688f6ab |
Add pkg/harvester components + shell portings - 1
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com> |
||
|
|
f8408469f7 |
Add Dashboard page
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com> |