Skip to content

Commit 3d0b4fc

Browse files
authored
UI: Add cluster arch type to the zone creation wizard (#10080)
* UI: Add cluster arch type to the zone creation wizard * Remove unused field * Fix github lint action * Remove unused option key
1 parent 41c27e1 commit 3d0b4fc

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

ui/src/views/infra/zone/ZoneWizardAddResources.vue

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,13 @@ export default {
192192
placeHolder: 'message.error.cluster.name',
193193
required: true
194194
},
195+
{
196+
title: 'label.arch',
197+
key: 'arch',
198+
required: false,
199+
select: true,
200+
options: this.architectureTypes
201+
},
195202
{
196203
title: 'label.vcenter.host',
197204
key: 'vCenterHost',
@@ -846,6 +853,13 @@ export default {
846853
primaryStorageScopes: [],
847854
primaryStorageProtocols: [],
848855
primaryStorageProviders: [],
856+
architectureTypes: [{
857+
id: 'x86_64',
858+
description: 'AMD 64 bits (x86_64)'
859+
}, {
860+
id: 'aarch64',
861+
description: 'ARM 64 bits (aarch64)'
862+
}],
849863
storageProviders: [],
850864
currentStep: null,
851865
options: ['primaryStorageScope', 'primaryStorageProtocol', 'provider', 'primaryStorageProvider']

ui/src/views/infra/zone/ZoneWizardLaunchZone.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,7 @@ export default {
12831283
if (this.isEdgeZone) {
12841284
clusterName = 'Cluster-' + this.stepData.zoneReturned.name
12851285
}
1286+
params.arch = this.prefillContent?.arch || null
12861287
12871288
if (hypervisor === 'VMware') {
12881289
params.username = this.prefillContent?.vCenterUsername || null

0 commit comments

Comments
 (0)