feat(xo-web/recipes/kubernetes): CIDR is no longer necessary (#6583)
Related to 6227349725
This commit is contained in:
@@ -5671,9 +5671,6 @@ export default {
|
||||
// Original text: 'SSH key'
|
||||
recipeSshKeyLabel: 'Chiave SSH',
|
||||
|
||||
// Original text: 'Network CIDR'
|
||||
recipeNetworkCidr: 'Rete CIDR',
|
||||
|
||||
// Original text: 'Action/Event'
|
||||
auditActionEvent: 'Azione/Evento',
|
||||
|
||||
|
||||
@@ -2392,7 +2392,6 @@ const messages = {
|
||||
recipeMasterNameLabel: 'Master name',
|
||||
recipeNumberOfNodesLabel: 'Number of nodes',
|
||||
recipeSshKeyLabel: 'SSH key',
|
||||
recipeNetworkCidr: 'Network CIDR',
|
||||
|
||||
// Audit
|
||||
auditActionEvent: 'Action/Event',
|
||||
|
||||
@@ -112,18 +112,6 @@ export default decorate([
|
||||
value={value.sshKey}
|
||||
/>
|
||||
</FormGrid.Row>
|
||||
<FormGrid.Row>
|
||||
<label>{_('recipeNetworkCidr')}</label>
|
||||
<input
|
||||
className='form-control'
|
||||
name='cidr'
|
||||
onChange={effects.onChangeValue}
|
||||
placeholder={formatMessage(messages.recipeNetworkCidr)}
|
||||
required
|
||||
type='text'
|
||||
value={value.cidr}
|
||||
/>
|
||||
</FormGrid.Row>
|
||||
</Container>
|
||||
),
|
||||
])
|
||||
|
||||
@@ -51,11 +51,10 @@ export default decorate([
|
||||
size: 'medium',
|
||||
})
|
||||
|
||||
const { cidr, masterName, nbNodes, network, sr, sshKey } = recipeParams
|
||||
const { masterName, nbNodes, network, sr, sshKey } = recipeParams
|
||||
|
||||
markRecipeAsCreating(RECIPE_INFO.id)
|
||||
const tag = await createKubernetesCluster({
|
||||
cidr,
|
||||
masterName,
|
||||
nbNodes: +nbNodes,
|
||||
network: network.id,
|
||||
|
||||
Reference in New Issue
Block a user