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

pass the managed identity in the setting section of customscript json #20561

Merged
merged 3 commits into from
Oct 18, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export default class VirtualMachineScaleSet {
autoUpgradeMinorVersion: true,
settings: {
"commandToExecute": customScriptInfo.command,
"fileUris": customScriptInfo.blobUris
"fileUris": customScriptInfo.blobUris,
"managedIdentity":{}
},
protectedSettings: {
"storageAccountName": customScriptInfo.storageAccount.name
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureVmssDeploymentV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 1,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.209.0",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureVmssDeploymentV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 1,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.209.0",
Expand Down
4 changes: 2 additions & 2 deletions _generated/AzureVmssDeploymentV1.versionmap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|1.247.2
Node20_229_6|1.247.3
Default|1.247.4
Node20_229_6|1.247.5
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export default class VirtualMachineScaleSet {
autoUpgradeMinorVersion: true,
settings: {
"commandToExecute": customScriptInfo.command,
"fileUris": customScriptInfo.blobUris
"fileUris": customScriptInfo.blobUris,
"managedIdentity":{}
},
protectedSettings: {
"storageAccountName": customScriptInfo.storageAccount.name
Expand Down
6 changes: 3 additions & 3 deletions _generated/AzureVmssDeploymentV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 1,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.209.0",
Expand Down Expand Up @@ -227,7 +227,7 @@
"ExpiredServicePrincipal": "Could not fetch access token for Azure. Verify if the Service Principal used is valid and not expired."
},
"_buildConfigMapping": {
"Default": "1.247.2",
"Node20_229_6": "1.247.3"
"Default": "1.247.4",
"Node20_229_6": "1.247.5"
}
}
6 changes: 3 additions & 3 deletions _generated/AzureVmssDeploymentV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 1,
"Minor": 247,
"Patch": 2
"Patch": 4
},
"demands": [],
"minimumAgentVersion": "2.209.0",
Expand Down Expand Up @@ -227,7 +227,7 @@
"ExpiredServicePrincipal": "ms-resource:loc.messages.ExpiredServicePrincipal"
},
"_buildConfigMapping": {
"Default": "1.247.2",
"Node20_229_6": "1.247.3"
"Default": "1.247.4",
"Node20_229_6": "1.247.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export default class VirtualMachineScaleSet {
autoUpgradeMinorVersion: true,
settings: {
"commandToExecute": customScriptInfo.command,
"fileUris": customScriptInfo.blobUris
"fileUris": customScriptInfo.blobUris,
"managedIdentity":{}
},
protectedSettings: {
"storageAccountName": customScriptInfo.storageAccount.name
Expand Down
6 changes: 3 additions & 3 deletions _generated/AzureVmssDeploymentV1_Node20/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 1,
"Minor": 247,
"Patch": 3
"Patch": 5
},
"demands": [],
"minimumAgentVersion": "2.209.0",
Expand Down Expand Up @@ -227,7 +227,7 @@
"ExpiredServicePrincipal": "Could not fetch access token for Azure. Verify if the Service Principal used is valid and not expired."
},
"_buildConfigMapping": {
"Default": "1.247.2",
"Node20_229_6": "1.247.3"
"Default": "1.247.4",
"Node20_229_6": "1.247.5"
}
}
6 changes: 3 additions & 3 deletions _generated/AzureVmssDeploymentV1_Node20/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 1,
"Minor": 247,
"Patch": 3
"Patch": 5
},
"demands": [],
"minimumAgentVersion": "2.209.0",
Expand Down Expand Up @@ -227,7 +227,7 @@
"ExpiredServicePrincipal": "ms-resource:loc.messages.ExpiredServicePrincipal"
},
"_buildConfigMapping": {
"Default": "1.247.2",
"Node20_229_6": "1.247.3"
"Default": "1.247.4",
"Node20_229_6": "1.247.5"
}
}