mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 06:06:05 +08:00
feat(forklift): Removed wrong configs used for testing
Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com>
This commit is contained in:
@@ -1,272 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "datastore-16879",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Content Library Datastore",
|
||||
"revision": 646,
|
||||
"name": "Content Library Datastore",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-16879",
|
||||
"type": "NFS41",
|
||||
"capacity": 65542688866304,
|
||||
"free": 65166035648512,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2036",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Mako14-Spinner1",
|
||||
"revision": 460,
|
||||
"name": "Mako14-Spinner1",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2036",
|
||||
"type": "VMFS",
|
||||
"capacity": 0,
|
||||
"free": 0,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-16880",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/VCSA Services",
|
||||
"revision": 631,
|
||||
"name": "VCSA Services",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-16880",
|
||||
"type": "NFS41",
|
||||
"capacity": 1545487384576,
|
||||
"free": 1545007792128,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-12038",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Mako13-Spinner1",
|
||||
"revision": 1,
|
||||
"name": "Mako13-Spinner1",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-12038",
|
||||
"type": "VMFS",
|
||||
"capacity": 8001524072448,
|
||||
"free": 7993813893120,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2045",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Mako15-Spinner1",
|
||||
"revision": 10,
|
||||
"name": "Mako15-Spinner1",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2045",
|
||||
"type": "VMFS",
|
||||
"capacity": 8001524072448,
|
||||
"free": 7883079024640,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2043",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Mako13-Local",
|
||||
"revision": 107,
|
||||
"name": "Mako13-Local",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2043",
|
||||
"type": "VMFS",
|
||||
"capacity": 8001524072448,
|
||||
"free": 7444761673728,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2044",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Mako14-Local",
|
||||
"revision": 411,
|
||||
"name": "Mako14-Local",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2044",
|
||||
"type": "VMFS",
|
||||
"capacity": 8001524072448,
|
||||
"free": 7953250779136,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-27001",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Heartbeat-01",
|
||||
"revision": 644,
|
||||
"name": "Heartbeat-01",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-27001",
|
||||
"type": "NFS41",
|
||||
"capacity": 1545227599872,
|
||||
"free": 1545007792128,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-27002",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Heartbeat-02",
|
||||
"revision": 642,
|
||||
"name": "Heartbeat-02",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-27002",
|
||||
"type": "NFS41",
|
||||
"capacity": 1545007972352,
|
||||
"free": 1545007792128,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-60001",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/NFS VM Datastore",
|
||||
"revision": 460,
|
||||
"name": "NFS VM Datastore",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-60001",
|
||||
"type": "NFS41",
|
||||
"capacity": 65169610178560,
|
||||
"free": 65166043054080,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-14753",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Content Library Datastore-DEAD",
|
||||
"revision": 1,
|
||||
"name": "Content Library Datastore-DEAD",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-14753",
|
||||
"type": "NFS41",
|
||||
"capacity": 76523271618560,
|
||||
"free": 76438520856576,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2039",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-s1004"
|
||||
},
|
||||
"path": "/PG Devlab/datastore/Mako15-Local",
|
||||
"revision": 263,
|
||||
"name": "Mako15-Local",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2039",
|
||||
"type": "VMFS",
|
||||
"capacity": 8001524072448,
|
||||
"free": 7828817313792,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2035",
|
||||
"parent": {
|
||||
"kind": "StoragePod",
|
||||
"id": "group-p2042"
|
||||
},
|
||||
"path": "/Mako13-NVMe2",
|
||||
"revision": 855,
|
||||
"name": "Mako13-NVMe2",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2035",
|
||||
"type": "VMFS",
|
||||
"capacity": 1600143753216,
|
||||
"free": 443096760320,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2034",
|
||||
"parent": {
|
||||
"kind": "StoragePod",
|
||||
"id": "group-p2042"
|
||||
},
|
||||
"path": "/Mako13-NVMe1",
|
||||
"revision": 44,
|
||||
"name": "Mako13-NVMe1",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2034",
|
||||
"type": "VMFS",
|
||||
"capacity": 1600143753216,
|
||||
"free": 350873452544,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2037",
|
||||
"parent": {
|
||||
"kind": "StoragePod",
|
||||
"id": "group-p2042"
|
||||
},
|
||||
"path": "/Mako14-NVMe1",
|
||||
"revision": 450,
|
||||
"name": "Mako14-NVMe1",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2037",
|
||||
"type": "VMFS",
|
||||
"capacity": 1600143753216,
|
||||
"free": 466680283136,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2040",
|
||||
"parent": {
|
||||
"kind": "StoragePod",
|
||||
"id": "group-p2042"
|
||||
},
|
||||
"path": "/Mako15-NVMe1",
|
||||
"revision": 648,
|
||||
"name": "Mako15-NVMe1",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2040",
|
||||
"type": "VMFS",
|
||||
"capacity": 1600143753216,
|
||||
"free": 380083634176,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2038",
|
||||
"parent": {
|
||||
"kind": "StoragePod",
|
||||
"id": "group-p2042"
|
||||
},
|
||||
"path": "/Mako14-NVMe2",
|
||||
"revision": 623,
|
||||
"name": "Mako14-NVMe2",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2038",
|
||||
"type": "VMFS",
|
||||
"capacity": 1600143753216,
|
||||
"free": 685895581696,
|
||||
"maintenance": "normal"
|
||||
},
|
||||
{
|
||||
"id": "datastore-2041",
|
||||
"parent": {
|
||||
"kind": "StoragePod",
|
||||
"id": "group-p2042"
|
||||
},
|
||||
"path": "/Mako15-NVMe2",
|
||||
"revision": 642,
|
||||
"name": "Mako15-NVMe2",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/datastores/datastore-2041",
|
||||
"type": "VMFS",
|
||||
"capacity": 1600143753216,
|
||||
"free": 383375114240,
|
||||
"maintenance": "normal"
|
||||
}
|
||||
]
|
||||
@@ -1,332 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "dvs-5001",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/Production-VDS",
|
||||
"revision": 1,
|
||||
"name": "Production-VDS",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvs-5001",
|
||||
"variant": "DvSwitch",
|
||||
"vlanId": "",
|
||||
"host": [
|
||||
{
|
||||
"Host": {
|
||||
"kind": "Host",
|
||||
"id": "host-1010"
|
||||
},
|
||||
"PNIC": [
|
||||
"vmnic2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Host": {
|
||||
"kind": "Host",
|
||||
"id": "host-1012"
|
||||
},
|
||||
"PNIC": [
|
||||
"vmnic2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Host": {
|
||||
"kind": "Host",
|
||||
"id": "host-2003"
|
||||
},
|
||||
"PNIC": [
|
||||
"vmnic2"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "dvs-13021",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/DSwitch",
|
||||
"revision": 1,
|
||||
"name": "DSwitch",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvs-13021",
|
||||
"variant": "DvSwitch",
|
||||
"vlanId": "",
|
||||
"host": [
|
||||
{
|
||||
"Host": {
|
||||
"kind": "Host",
|
||||
"id": "host-1010"
|
||||
},
|
||||
"PNIC": [
|
||||
"vmnic0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Host": {
|
||||
"kind": "Host",
|
||||
"id": "host-1012"
|
||||
},
|
||||
"PNIC": [
|
||||
"vmnic0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Host": {
|
||||
"kind": "Host",
|
||||
"id": "host-2003"
|
||||
},
|
||||
"PNIC": [
|
||||
"vmnic0"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-13026",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/DSwitch-vMotion",
|
||||
"revision": 1,
|
||||
"name": "DSwitch-vMotion",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-13026",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-13021"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-13026"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-13027",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/DSwitch-vSAN",
|
||||
"revision": 1,
|
||||
"name": "DSwitch-vSAN",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-13027",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-13021"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-13027"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-13023",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/DSwitch-vCenter-HA-Management",
|
||||
"revision": 1,
|
||||
"name": "DSwitch-vCenter-HA-Management",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-13023",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-13021"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-13023"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-13025",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/DSwitch-vCenter-HA-VM-Network",
|
||||
"revision": 1,
|
||||
"name": "DSwitch-vCenter-HA-VM-Network",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-13025",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-13021"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-13025"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-13024",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/DSwitch-vCenter-HA-Witness",
|
||||
"revision": 1,
|
||||
"name": "DSwitch-vCenter-HA-Witness",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-13024",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-13021"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-13024"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-5002",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/Production-VDS-DVUplinks-5001",
|
||||
"revision": 1,
|
||||
"name": "Production-VDS-DVUplinks-5001",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-5002",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-5001"
|
||||
},
|
||||
"vlanId": "0-4094",
|
||||
"host": null,
|
||||
"key": "dvportgroup-5002"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-5003",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/VM-Network",
|
||||
"revision": 1,
|
||||
"name": "VM-Network",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-5003",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-5001"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-5003"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-5005",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/mgmt",
|
||||
"revision": 1,
|
||||
"name": "mgmt",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-5005",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-5001"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-5005"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-6001",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/vCenter-HA",
|
||||
"revision": 1,
|
||||
"name": "vCenter-HA",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-6001",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-5001"
|
||||
},
|
||||
"vlanId": "",
|
||||
"host": null,
|
||||
"key": "dvportgroup-6001"
|
||||
},
|
||||
{
|
||||
"id": "dvportgroup-13022",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/DSwitch-DVUplinks-13021",
|
||||
"revision": 1,
|
||||
"name": "DSwitch-DVUplinks-13021",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/dvportgroup-13022",
|
||||
"variant": "DvPortGroup",
|
||||
"dvSwitch": {
|
||||
"kind": "Network",
|
||||
"id": "dvs-13021"
|
||||
},
|
||||
"vlanId": "0-4094",
|
||||
"host": null,
|
||||
"key": "dvportgroup-13022"
|
||||
},
|
||||
{
|
||||
"id": "network-12023",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/vCenter-HA-Witness",
|
||||
"revision": 1,
|
||||
"name": "vCenter-HA-Witness",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/network-12023",
|
||||
"variant": "Standard",
|
||||
"vlanId": "",
|
||||
"host": null
|
||||
},
|
||||
{
|
||||
"id": "network-12022",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/vCenter-HA-Management",
|
||||
"revision": 1,
|
||||
"name": "vCenter-HA-Management",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/network-12022",
|
||||
"variant": "Standard",
|
||||
"vlanId": "",
|
||||
"host": null
|
||||
},
|
||||
{
|
||||
"id": "network-12021",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/vCenter-HA-VM-Network",
|
||||
"revision": 1,
|
||||
"name": "vCenter-HA-VM-Network",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/network-12021",
|
||||
"variant": "Standard",
|
||||
"vlanId": "",
|
||||
"host": null
|
||||
},
|
||||
{
|
||||
"id": "network-1017",
|
||||
"parent": {
|
||||
"kind": "Folder",
|
||||
"id": "group-n1005"
|
||||
},
|
||||
"path": "/PG Devlab/network/VM Network",
|
||||
"revision": 1,
|
||||
"name": "VM Network",
|
||||
"selfLink": "providers/vsphere/eaac340a-8953-479d-9463-85a1a100ab9d/networks/network-1017",
|
||||
"variant": "Standard",
|
||||
"vlanId": "",
|
||||
"host": null
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,18 +1 @@
|
||||
const path = require('path');
|
||||
|
||||
const config = require('@rancher/shell/pkg/vue.config')(__dirname);
|
||||
const originalConfigureWebpack = config.configureWebpack;
|
||||
|
||||
config.configureWebpack = function(cfg) {
|
||||
if (originalConfigureWebpack) {
|
||||
originalConfigureWebpack(cfg);
|
||||
}
|
||||
|
||||
// Force @rancher/icons to resolve to the top-level 2.0.60 version
|
||||
// so new icons (datastore, disk, network, etc.) are available in extension mode.
|
||||
const maindir = path.resolve(__dirname, '..', '..');
|
||||
|
||||
cfg.resolve.alias['@rancher/icons'] = path.resolve(maindir, 'node_modules', '@rancher/icons');
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
module.exports = require('@rancher/shell/pkg/vue.config')(__dirname);
|
||||
|
||||
Reference in New Issue
Block a user