Skip to content

Commit 9a4f90f

Browse files
authored
More fixups to setup control plane rg arm template (#592)
Allows deploying a premium fileshare as well.
1 parent e90fb39 commit 9a4f90f

File tree

1 file changed

+15
-3
lines changed
  • mlos_bench/mlos_bench/config/services/remote/azure/scripts/setup-rg

1 file changed

+15
-3
lines changed

mlos_bench/mlos_bench/config/services/remote/azure/scripts/setup-rg/rg-template.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"storageSku": {
5555
"type": "string",
56-
"defaultValue": "Premium_LRS",
56+
"defaultValue": "Standard_LRS",
5757
"allowedValues": [
5858
"Premium_LRS",
5959
"Premium_ZRS",
@@ -64,6 +64,14 @@
6464
"Standard_RAGZRS",
6565
"Standard_ZRS"
6666
]
67+
},
68+
"storageKind": {
69+
"type": "string",
70+
"defaultValue": "StorageV2",
71+
"allowedValues": [
72+
"FileStorage",
73+
"StorageV2"
74+
]
6775
}
6876
},
6977
"functions": [],
@@ -299,7 +307,7 @@
299307
"dependsOn": [
300308
"[resourceId('Microsoft.Network/virtualNetworks', variables('vnetName'))]"
301309
],
302-
"kind": "StorageV2",
310+
"kind": "[parameters('storageKind')]",
303311
"sku": {
304312
"name": "[parameters('storageSku')]"
305313
},
@@ -312,7 +320,11 @@
312320
"action": "Allow"
313321
}
314322
],
315-
"ipRules": [],
323+
"ipRules": [
324+
{
325+
"value": "[parameters('vmSshSourceAddressPrefix')]"
326+
}
327+
],
316328
"defaultAction": "Deny"
317329
}
318330
}

0 commit comments

Comments
 (0)