mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: Fix CreateKubernetesCluster for ha (#6106)
This commit is contained in:
parent
594c2c1b07
commit
a4c6b12b26
@ -135,7 +135,7 @@
|
||||
<template #label>
|
||||
<tooltip-label :title="$t('label.haenable')" :tooltip="apiParams.haenable?.description || ''"/>
|
||||
</template>
|
||||
<a-switch v-model:cheked="form.haenable" />
|
||||
<a-switch v-model:checked="form.haenable" />
|
||||
</a-form-item>
|
||||
<a-form-item v-if="form.haenable">
|
||||
<template #label>
|
||||
@ -459,7 +459,8 @@ export default {
|
||||
if (this.isValidValueForKey(values, 'noderootdisksize') && values.noderootdisksize > 0) {
|
||||
params.noderootdisksize = values.noderootdisksize
|
||||
}
|
||||
if (this.isValidValueForKey(values, 'controlnodes') && values.controlnodes > 0) {
|
||||
if (this.isValidValueForKey(values, 'haenable') && values.haenable &&
|
||||
this.isValidValueForKey(values, 'controlnodes') && values.controlnodes > 0) {
|
||||
params.controlnodes = values.controlnodes
|
||||
}
|
||||
if (this.isValidValueForKey(values, 'externalloadbalanceripaddress') && values.externalloadbalanceripaddress !== '') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user