Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

use managed identity reader access for scaleset configs #1060

Merged

Conversation

bmc-msft
Copy link
Contributor

@bmc-msft bmc-msft commented Jul 13, 2021

The new custom script extension configs are not always pulled during reimage. As such, VMs that outlive the SAS duration may not reimage correctly.

This moves to using a role assignment created at deployment for the scalesets to give read access to the config blob storage using the managed identity, rather than using SAS URLs.

https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-linux#property-managedidentity

Short-life VMs (proxies & repros) continue to use the existing SAS mechanism.

@bmc-msft bmc-msft marked this pull request as ready for review July 13, 2021 15:49
@bmc-msft bmc-msft merged commit 39beb15 into microsoft:main Jul 13, 2021
@bmc-msft bmc-msft deleted the make-scaleset-configs-use-managed-identity branch July 13, 2021 17:20
@bmc-msft bmc-msft linked an issue Jul 14, 2021 that may be closed by this pull request
@ghost ghost locked as resolved and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Managed nodes stuck in init on Windows after finishing task
3 participants