{{#accordion-list showExpandAll=false as |al expandFn|}} {{#if (eq step 1) }} {{#accordion-list-item title=(t "clusterNew.azureaks.access.title") detail=(t "clusterNew.azureaks.access.detail") showExpand=false expandOnInit=true expandAll=al.expandAll expand=(action expandFn) }}
{{#input-or-display editable=isEditable value=config.subscriptionId }} {{input classNames="form-control" id="azureaks-subscription-id" placeholder=(t "clusterNew.azureaks.subscriptionId.placeholder") type="text" value=config.subscriptionId }} {{/input-or-display}}
{{#input-or-display editable=isEditable value=config.tenantId }} {{input type="text" classNames="form-control" id="azureaks-tenant-id" placeholder=(t "clusterNew.azureaks.tenant.placeholder") value=config.tenantId }} {{/input-or-display}}
{{#input-or-display editable=isEditable value=config.clientId }} {{input classNames="form-control" id="azureaks-client-id" placeholder=(t "clusterNew.azureaks.clientId.placeholder") type="text" value=config.clientId }} {{/input-or-display}}
{{input classNames="form-control" id="azureaks-client-secret" placeholder=(t "clusterNew.azureaks.clientSecret.placeholder") type="password" value=config.clientSecret }}
{{#input-or-display editable=isEditable value=config.location }} {{new-select classNames="form-control" content=zones id="azureaks-location" localizedPrompt=true optionLabelPath="displayName" optionValuePath="name" prompt="clusterNew.azureaks.location.prompt" value=config.location }} {{/input-or-display}}
{{#unless editing}}
{{banner-message color="bg-info" icon="icon-help" class="mb-0" message=(t "clusterNew.azureaks.access.help" htmlSafe=true) }}
{{/unless}} {{/accordion-list-item}} {{save-cancel editing=isEditing save=(action "authenticate") saveDisabled=saveDisabled createLabel="clusterNew.azureaks.authenticate.next" cancel=close }} {{/if}} {{#if (gte step 2) }} {{#accordion-list-item title=(t "clusterNew.kubernetesOptions.title") detail=(t "clusterNew.kubernetesOptions.detail") expandAll=al.expandAll expandOnInit=true expand=(action expandFn) }}
{{new-select classNames="form-control" content=versionChoices value=config.kubernetesVersion }}
{{#input-or-display editable=isNew value=config.masterDnsPrefix }} {{input classNames="form-control" id="azureaks-master-dns-prefix" placeholder=(t "clusterNew.azureaks.dns.placeholder") type="text" value=config.masterDnsPrefix }} {{/input-or-display}}
{{#unless isChinaRegion}}
{{/unless}}
{{form-key-value initialMap=tags changed=(action "setTags") addActionLabel="clusterNew.azureaks.tags.addActionLabel" }}
{{/accordion-list-item}} {{#accordion-list-item title=(t "clusterNew.nodes.title") detail=(t "clusterNew.nodes.detail") showExpand=false expandOnInit=true expandAll=al.expandAll expand=(action expandFn) }}
{{#input-or-display editable=isNew value=config.adminUsername }} {{input classNames="form-control" id="azureaks-admin-username-prefix" placeholder=(t "clusterNew.azureaks.admin.placeholder") type="text" value=config.adminUsername }} {{/input-or-display}}
{{#input-or-display editable=isNew value=config.resourceGroup }} {{input classNames="form-control" id="azureaks-resource-group" placeholder=(t "clusterNew.azureaks.resourceGroup.placeholder") type="text" value=config.resourceGroup }} {{/input-or-display}}
{{#input-or-display editable=isNew value=loadBalancerSku }} {{new-select id="azureaks-load-balancer-sku" classNames="form-control" content=lbSkus value=loadBalancerSku }} {{/input-or-display}}
{{#input-or-display editable=isNew value=config.agentVmSize }} {{new-select id="azureaks-vm-disk-size" classNames="form-control" optionValuePath="value" optionLabelPath="value" content=machineSizes value=config.agentVmSize prompt="clusterNew.azureaks.machineType.prompt" localizedPrompt=true }} {{/input-or-display}}
{{input-number id="azureaks-config-count" min=1 value=config.count placeholder=(t "clusterNew.azureaks.count.placeholder") }}
{{#input-or-display editable=isNew value=config.agentOsdiskSize }}
{{input-number id="azureaks-os-disk-size" min=0 value=config.agentOsdiskSize placeholder=(t "clusterNew.azureaks.diskSizeGb.placeholder") }} {{t "generic.gigabyte"}}
{{/input-or-display}}
{{#input-or-display editable=isNew value=(if (eq netMode "default") (t "clusterNew.azureaks.networking.default") (t "clusterNew.azureaks.networking.advanced")) }}
{{/input-or-display}}
{{#if (eq netMode "advanced")}}
{{#input-or-display editable=isNew value=config.networkPlugin }} {{new-select classNames="form-control" content=networkPlugins id="azureaks-advanced-network-plugin" localizedPrompt=false prompt=(t "clusterNew.azureaks.networking.networkPlugin.prompt") value=config.networkPlugin }} {{/input-or-display}}
{{#input-or-display editable=isNew value=networkChoiceDisplay }} {{new-select classNames="form-control" content=filteredVirtualNetworks id="azureaks-advanced-virtual-network" localizedPrompt=false optionLabelPath="name" optionValuePath="value" optionGroupPath="group" prompt=(t "clusterNew.azureaks.networking.vnet.prompt") value=networkChoice }} {{/input-or-display}}
{{#input-or-display editable=isNew value=config.serviceCidr }} {{input classNames="form-control" id="azureaks-service-cidr-id" placeholder=(t "clusterNew.azureaks.networking.serviceCidr.prompt") type="text" value=config.serviceCidr }} {{/input-or-display}}

{{t "clusterNew.azureaks.networking.serviceCidr.help"}}

{{#input-or-display editable=isNew value=config.podCidr }} {{input classNames="form-control" id="azureaks-pod-cidr" type="text" value=config.podCidr placeholder=(t "clusterNew.azureaks.networking.podCidr.placeholder") }} {{/input-or-display}}

{{t "clusterNew.azureaks.networking.podCidr.help"}}

{{#input-or-display editable=isNew value=config.dnsServiceIp }} {{input classNames="form-control" id="azureaks-dns-service-ip" type="text" value=config.dnsServiceIp placeholder=(t "clusterNew.azureaks.networking.dnsServiceIp.placeholder") }} {{/input-or-display}}

{{t "clusterNew.azureaks.networking.dnsServiceIp.help"}}

{{#input-or-display editable=isNew value=config.dockerBridgeCidr }} {{input classNames="form-control" id="azureaks-docker-service-ip" type="text" value=config.dockerBridgeCidr placeholder=(t "clusterNew.azureaks.networking.dockerBridgeCidr.placeholder") }} {{/input-or-display}}

{{t "clusterNew.azureaks.networking.dockerBridgeCidr.help"}}

{{#input-or-display editable=isNew value=config.networkPolicy }} {{searchable-select class="form-control" content=networkPolicyContent value=config.networkPolicy placeholder=(t "clusterNew.azureaks.networkPolicy.placeholder") }} {{/input-or-display}}
{{/if}}
{{#input-or-display editable=isEditable value=config.sshPublicKeyContents }} {{input-text-file id="azureaks-advanced-ssh-pub-key" classNames="box" value=config.sshPublicKeyContents multiple=true canChangeName=false accept="application/x-x509-ca-cert,text/plain,.pem,.crt,.pub" minHeight=60 placeholder="clusterNew.azureaks.ssh.placeholder" shouldChangeName=false }} {{/input-or-display}}
{{/accordion-list-item}} {{save-cancel editing=(eq mode "edit") save=(action "driverSave") cancel=close }} {{/if}} {{/accordion-list}} {{top-errors errors=errors}} {{top-errors errors=otherErrors}} {{top-errors errors=clusterErrors}}