From cb76589e9550fc9d15ba7a89a2409401548e9065 Mon Sep 17 00:00:00 2001 From: Cody Jackson Date: Tue, 17 Sep 2024 16:05:06 -0700 Subject: [PATCH] Allowing the SR-IOV-Network Devices and PCI Devices list pages to render It looks like addon names were added/changed so I updated those. I also fixed the DeviceList component by adding inherritAttrs: false because rows was getting set incorrectly. --- pkg/harvester/config/harvester-map.js | 3 ++- .../VirtualMachinePciDevices/DeviceList.vue | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/harvester/config/harvester-map.js b/pkg/harvester/config/harvester-map.js index 86a4c3aa..7a682931 100644 --- a/pkg/harvester/config/harvester-map.js +++ b/pkg/harvester/config/harvester-map.js @@ -56,8 +56,9 @@ export const FLOW_TYPE = { export const ADD_ONS = { HARVESTER_SEEDER: 'harvester-seeder', - PCI_DEVICE_CONTROLLER: 'pci-device-controller', + PCI_DEVICE_CONTROLLER: 'pcidevices-controller', RANCHER_LOGGING: 'rancher-logging', RANCHER_MONITORING: 'rancher-monitoring', VM_IMPORT_CONTROLLER: 'vm-import-controller', + NVIDIA_DRIVER_TOOLKIT_CONTROLLER: 'nvidia-driver-toolkit' }; diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/DeviceList.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/DeviceList.vue index 3760c552..3e279314 100644 --- a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/DeviceList.vue +++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachinePciDevices/DeviceList.vue @@ -12,6 +12,8 @@ export default { components: { ResourceTable, FilterBySriov }, + inheritAttrs: false, + props: { schema: { type: Object,