Skip to content

Commit

Permalink
ui (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Byers authored Mar 20, 2023
1 parent 0a1ef8b commit ae237b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,7 @@ param enableNodePublicIP bool = false

param warIngressNginx bool = false

@maxLength(80)
@description('The name of the NEW resource group to create the AKS cluster managed resources in')
param managedNodeResourceGroup string = ''

Expand Down
2 changes: 2 additions & 0 deletions helper/src/components/deployTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default function DeployTab({ defaults, updateFn, tabValues, invalidArray,
}
const params = {
resourceName: deploy.clusterName,
...(deploy.managedNodeResourceGroup !== defaults.deploy.managedNodeResourceGroup && { managedNodeResourceGroup: deploy.managedNodeResourceGroup }),
...(deploy.kubernetesVersion !== defaults.deploy.kubernetesVersion && {kubernetesVersion: deploy.kubernetesVersion}),
...(cluster.agentCount !== defaults.cluster.agentCount && { agentCount: cluster.agentCount}),
...(cluster.upgradeChannel !== defaults.cluster.upgradeChannel && { upgradeChannel: cluster.upgradeChannel }),
Expand Down Expand Up @@ -359,6 +360,7 @@ az role assignment create --role "Managed Identity Operator" --assignee-principa

<TextField label="Cluster Name" onChange={(ev, val) => updateFn('clusterName', val)} required errorMessage={getError(invalidArray, 'clusterName')} value={deploy.clusterName} />
<TextField id="azResourceGroup" label="Resource Group" onChange={(ev, val) => updateFn('rg', val)} required errorMessage={getError(invalidArray, 'rg')} value={deploy.rg} />
<TextField id="managedNodeResourceGroup" label="Managed Resource Group Name (optional)" onChange={(ev, val) => updateFn('managedNodeResourceGroup', val)} maxLength={80} value={deploy.managedNodeResourceGroup} />
<TextField label="Kubernetes version" prefix="Current GA Version" readOnly={false} disabled={false} required value={deploy.kubernetesVersion} onChange={(ev, val) => updateFn('kubernetesVersion', val)} />

<Dropdown
Expand Down
1 change: 1 addition & 0 deletions helper/src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"defaults": {
"deploy": {
"enableTelemetry": true,
"managedNodeResourceGroup": "",
"kubernetesVersion": "1.24.9",
"location": "WestEurope",
"apiips": "",
Expand Down

0 comments on commit ae237b4

Please sign in to comment.