diff --git a/azure_jumpstart_arcbox/ARM/azuredeploy.json b/azure_jumpstart_arcbox/ARM/azuredeploy.json index 38d1957e40..051cd7c93a 100644 --- a/azure_jumpstart_arcbox/ARM/azuredeploy.json +++ b/azure_jumpstart_arcbox/ARM/azuredeploy.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.29.47.4906", - "templateHash": "13913810108142988750" + "templateHash": "2738768575994422412" } }, "parameters": { @@ -78,7 +78,7 @@ }, "githubBranch": { "type": "string", - "defaultValue": "arcbox_3.0", + "defaultValue": "main", "metadata": { "description": "Target GitHub branch" } @@ -511,7 +511,7 @@ "name": "ubuntuRancherK3sDataSvcNodesDeployment", "count": "[length(range(0, variables('k3sClusterNodesCount')))]" }, - "condition": "[or(or(equals(parameters('flavor'), 'Full'), equals(parameters('flavor'), 'DataOps')), equals(parameters('flavor'), 'DevOps'))]", + "condition": "[or(equals(parameters('flavor'), 'DataOps'), equals(parameters('flavor'), 'DevOps'))]", "type": "Microsoft.Resources/deployments", "apiVersion": "2022-09-01", "name": "[format('ubuntuRancherK3sDataSvcNodesDeployment-{0}', range(0, variables('k3sClusterNodesCount'))[copyIndex()])]", @@ -1704,6 +1704,8 @@ "dependsOn": [ "[resourceId('Microsoft.Resources/deployments', 'mgmtArtifactsAndPolicyDeployment')]", "[resourceId('Microsoft.Resources/deployments', 'stagingStorageAccountDeployment')]", + "[resourceId('Microsoft.Resources/deployments', 'ubuntuRancherK3sDataSvcDeployment')]", + "[resourceId('Microsoft.Resources/deployments', 'ubuntuRancherK3sDeployment')]", "[resourceId('Microsoft.Resources/deployments', 'updateVNetDNSServers')]" ] }, diff --git a/azure_jumpstart_arcbox/bicep/main.bicep b/azure_jumpstart_arcbox/bicep/main.bicep index 00031f4555..9ca151f481 100644 --- a/azure_jumpstart_arcbox/bicep/main.bicep +++ b/azure_jumpstart_arcbox/bicep/main.bicep @@ -35,7 +35,7 @@ param flavor string = 'ITPro' param githubAccount string = 'microsoft' @description('Target GitHub branch') -param githubBranch string = 'arcbox_3.0' +param githubBranch string = 'main' @description('Choice to deploy Bastion to connect to the client VM') param deployBastion bool = false @@ -103,7 +103,7 @@ module ubuntuRancherK3sDataSvcDeployment 'kubernetes/ubuntuRancher.bicep' = if ( } } -module ubuntuRancherK3sDataSvcNodesDeployment 'kubernetes/ubuntuRancherNodes.bicep' = [for i in range(0, k3sClusterNodesCount): if (flavor == 'Full' || flavor == 'DataOps' || flavor == 'DevOps') { +module ubuntuRancherK3sDataSvcNodesDeployment 'kubernetes/ubuntuRancherNodes.bicep' = [for i in range(0, k3sClusterNodesCount): if (flavor == 'DataOps' || flavor == 'DevOps') { name: 'ubuntuRancherK3sDataSvcNodesDeployment-${i}' params: { sshRSAPublicKey: sshRSAPublicKey @@ -171,6 +171,8 @@ module clientVmDeployment 'clientVm/clientVm.bicep' = { } dependsOn: [ updateVNetDNSServers + ubuntuRancherK3sDataSvcDeployment + ubuntuRancherK3sDeployment ] }