Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper UI for Node Resource Group #553

Merged
merged 1 commit into from
Mar 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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