Skip to content

Commit 95c10c0

Browse files
committed
Remove user-assigned identity from ARM template
1 parent e83311b commit 95c10c0

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

upi/azure/04_bootstrap.json

-7
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"masterLoadBalancerName" : "[parameters('baseName')]",
5959
"internalLoadBalancerName" : "[concat(parameters('baseName'), '-internal-lb')]",
6060
"sshKeyPath" : "/home/core/.ssh/authorized_keys",
61-
"identityName" : "[concat(parameters('baseName'), '-identity')]",
6261
"vmName" : "[concat(parameters('baseName'), '-bootstrap')]",
6362
"nicName" : "[concat(variables('vmName'), '-nic')]",
6463
"galleryName": "[concat('gallery_', replace(parameters('baseName'), '-', '_'))]",
@@ -120,12 +119,6 @@
120119
"type" : "Microsoft.Compute/virtualMachines",
121120
"name" : "[variables('vmName')]",
122121
"location" : "[variables('location')]",
123-
"identity" : {
124-
"type" : "userAssigned",
125-
"userAssignedIdentities" : {
126-
"[resourceID('Microsoft.ManagedIdentity/userAssignedIdentities/', variables('identityName'))]" : {}
127-
}
128-
},
129122
"dependsOn" : [
130123
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
131124
],

upi/azure/05_masters.json

-7
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"masterLoadBalancerName" : "[parameters('baseName')]",
8181
"internalLoadBalancerName" : "[concat(parameters('baseName'), '-internal-lb')]",
8282
"sshKeyPath" : "/home/core/.ssh/authorized_keys",
83-
"identityName" : "[concat(parameters('baseName'), '-identity')]",
8483
"galleryName": "[concat('gallery_', replace(parameters('baseName'), '-', '_'))]",
8584
"imageName" : "[concat(parameters('baseName'), if(equals(parameters('hyperVGen'), 'V2'), '-gen2', ''))]",
8685
"copy" : [
@@ -132,12 +131,6 @@
132131
},
133132
"name" : "[variables('vmNames')[copyIndex()]]",
134133
"location" : "[variables('location')]",
135-
"identity" : {
136-
"type" : "userAssigned",
137-
"userAssignedIdentities" : {
138-
"[resourceID('Microsoft.ManagedIdentity/userAssignedIdentities/', variables('identityName'))]" : {}
139-
}
140-
},
141134
"dependsOn" : [
142135
"[concat('Microsoft.Network/networkInterfaces/', concat(variables('vmNames')[copyIndex()], '-nic'))]"
143136
],

upi/azure/06_workers.json

-7
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"nodeSubnetRef" : "[concat(variables('virtualNetworkID'), '/subnets/', variables('nodeSubnetName'))]",
6666
"infraLoadBalancerName" : "[parameters('baseName')]",
6767
"sshKeyPath" : "/home/capi/.ssh/authorized_keys",
68-
"identityName" : "[concat(parameters('baseName'), '-identity')]",
6968
"galleryName": "[concat('gallery_', replace(parameters('baseName'), '-', '_'))]",
7069
"imageName" : "[concat(parameters('baseName'), if(equals(parameters('hyperVGen'), 'V2'), '-gen2', ''))]",
7170
"copy" : [
@@ -118,12 +117,6 @@
118117
"tags" : {
119118
"kubernetes.io-cluster-ffranzupi": "owned"
120119
},
121-
"identity" : {
122-
"type" : "userAssigned",
123-
"userAssignedIdentities" : {
124-
"[resourceID('Microsoft.ManagedIdentity/userAssignedIdentities/', variables('identityName'))]" : {}
125-
}
126-
},
127120
"dependsOn" : [
128121
"[concat('Microsoft.Network/networkInterfaces/', concat(variables('vmNames')[copyIndex()], '-nic'))]"
129122
],

0 commit comments

Comments
 (0)