diff --git a/bicep/main.bicep b/bicep/main.bicep index 55d523613..f749c02ec 100644 --- a/bicep/main.bicep +++ b/bicep/main.bicep @@ -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 = '' diff --git a/helper/src/components/deployTab.js b/helper/src/components/deployTab.js index f28490c92..217bf611e 100644 --- a/helper/src/components/deployTab.js +++ b/helper/src/components/deployTab.js @@ -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 }), @@ -359,6 +360,7 @@ az role assignment create --role "Managed Identity Operator" --assignee-principa updateFn('clusterName', val)} required errorMessage={getError(invalidArray, 'clusterName')} value={deploy.clusterName} /> updateFn('rg', val)} required errorMessage={getError(invalidArray, 'rg')} value={deploy.rg} /> + updateFn('managedNodeResourceGroup', val)} maxLength={80} value={deploy.managedNodeResourceGroup} /> updateFn('kubernetesVersion', val)} />