Skip to content

Commit 822dba2

Browse files
feat: add nicMultiQueue flag, rename append rke flag to reflec changes from the driver (#48)
* fix: rename append rke flag to reflec changes from the driver * feat: added nicMultiQueue flag, renamed appendRke flag, changed image default value * chore: update dependencies
1 parent a2ab3ca commit 822dba2

File tree

4 files changed

+834
-1642
lines changed

4 files changed

+834
-1642
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"@rancher/components": "0.3.0-alpha.1",
9-
"@rancher/shell": "3.0.5-rc.7",
9+
"@rancher/shell": "3.0.5-rc.8",
1010
"@ionos-cloud/sdk-nodejs": "^6.1.5"
1111
},
1212
"resolutions": {

pkg/ionoscloud/machine-config/ionoscloud.vue

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ export default defineComponent({
441441
cores: this.value?.cores || '2',
442442
ram: this.value?.ram || '2048',
443443
diskSize: this.value?.diskSize || '50',
444-
image: this.value?.image || 'ubuntu:20.04',
444+
image: this.value?.image || 'ubuntu:latest',
445445
imagePassword: this.value?.imagePassword,
446446
cloudInit: this.value?.cloudInit,
447447
sshUser: this.value?.sshUser || 'root',
@@ -451,6 +451,7 @@ export default defineComponent({
451451
lanId: this.value?.lanId,
452452
lanName: this.value?.lanName || 'docker-machine-lan',
453453
privateLan: this.value?.privateLan || false,
454+
nicMultiQueue: this.value?.nicMultiQueue || false,
454455
nicDhcp: this.value?.nicDhcp || false,
455456
nicIps: this.value?.nicIps || [],
456457
additionalLans: this.value?.additionalLans || [],
@@ -462,7 +463,7 @@ export default defineComponent({
462463
natLansToGateways: this.getNatLansToGateways(this.value?.natLansToGateways) || [],
463464
natFlowlogs: this.value?.natFlowlogs || [],
464465
natPublicIps: this.value?.natPublicIps || [],
465-
appendRkeUserdata: this.value?.appendRkeUserdata || false,
466+
appendRkeCloudInit: this.value?.appendRkeCloudInit || true,
466467
natRules: this.mode == 'create' ? defaultNatRules : this.value?.natRules || [],
467468
natRuleName: '',
468469
natRuleType: 'SNAT',
@@ -717,14 +718,15 @@ export default defineComponent({
717718
this.value.lanId = this.lanId;
718719
this.value.lanName = this.lanName;
719720
this.value.privateLan = this.privateLan;
721+
this.value.nicMultiQueue = this.nicMultiQueue;
720722
this.value.nicDhcp = this.nicDhcp;
721723
this.value.nicIps = this.nicIps;
722724
this.value.additionalLans = this.additionalLans;
723725
this.value.waitForIpChange = this.waitForIpChange;
724726
this.value.waitForIpChangeTimeout = this.waitForIpChangeTimeout;
725727
this.value.natId = this.natId;
726728
this.value.natName = this.natName;
727-
this.value.appendRkeUserdata = this.appendRkeUserdata;
729+
this.value.appendRkeCloudInit = this.appendRkeCloudInit;
728730
this.value.createNat = this.createNat;
729731
this.value.natLansToGateways = this.formatNatLansToGateways();
730732
this.value.natFlowlogs = this.natFlowlogs;
@@ -918,7 +920,7 @@ export default defineComponent({
918920
<div class="col span-4">
919921
<Checkbox
920922
label="Append RKE provisioning config in the userdata sent to the server"
921-
v-model:value="appendRkeUserdata"
923+
v-model:value="appendRkeCloudInit"
922924
:mode="mode"
923925
:disabled="busy"
924926
/>
@@ -1010,6 +1012,15 @@ export default defineComponent({
10101012
/>
10111013
<p class="help-block">Optional. IPBlock reserved IPs. If not set, the driver will reserve an IPBlock automatically or let the API set a private IP if the LAN is private</p>
10121014
</div>
1015+
<div class="col span-4">
1016+
<Checkbox
1017+
label="NIC Multi Queue"
1018+
v-model:value="nicMultiQueue"
1019+
:mode="mode"
1020+
:disabled="busy"
1021+
/>
1022+
<p class="help-block">Activate or deactivate the Multi Queue feature on all NICs of this server.</p>
1023+
</div>
10131024
</div>
10141025
10151026
<div class="row mt-10">

pkg/ionoscloud/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ionoscloud",
33
"description": "Adds Machine Config and Cloud Credeantials for the ionoscloud rancher driver",
4-
"version": "0.4.1",
4+
"version": "0.4.2",
55
"private": false,
66
"icon": "https://raw.githubusercontent.com/ionos-cloud/ui-extensions-ionoscloud/main/pkg/ionoscloud/ionos.svg",
77
"rancher": {

0 commit comments

Comments
 (0)