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

fix: use full userAssignedID reference in ARM template #3116

Merged
merged 2 commits into from
Apr 21, 2020

Conversation

jackfrancis
Copy link
Member

Reason for Change:

This PR uses the fully qualified reference(variables('userAssignedIDReference'), variables('apiVersionManagedIdentity')).clientId in the CSE string concatenation, so that in the event that the same string value is used by another resource, it can be properly distinguished during ARM template interpretation.

Issue Fixed:

Fixes #3114

Requirements:

Notes:

DavidParks8
DavidParks8 previously approved these changes Apr 21, 2020
@codecov
Copy link

codecov bot commented Apr 21, 2020

Codecov Report

Merging #3116 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3116   +/-   ##
=======================================
  Coverage   71.03%   71.03%           
=======================================
  Files         147      147           
  Lines       25553    25553           
=======================================
  Hits        18152    18152           
  Misses       6271     6271           
  Partials     1130     1130           
Impacted Files Coverage Δ
pkg/engine/template_generator.go 82.50% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22c5fb6...bd1cd94. Read the comment docs.

@jackfrancis jackfrancis merged commit 18b54a2 into Azure:master Apr 21, 2020
@jackfrancis jackfrancis deleted the user-assigned-id-reference branch April 21, 2020 23:55
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request May 15, 2020
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request May 15, 2020
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request May 15, 2020
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request May 16, 2020
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request May 16, 2020
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request May 16, 2020
xuto2 pushed a commit that referenced this pull request May 16, 2020
* fix: Expose error details in Windows CSE (#3159)

* feat: Updating Windows VHDs to include May patches (#3263)

* fix: the os disk size restriction is changed in azure. (#3043)

* refactor: Create signable PS scripts (#3015)

* feat: Refactor PS scripts to be static

* fix: use full userAssignedID reference in ARM template (#3116)

* fix: don't hardcode pause image for containerD on Windows (#3158)

* chore: update Windows pause image (#3210)

* fix: USER_ASSIGNED_IDENTITY_ID is empty in azure.json (#3254)

Co-authored-by: Mark Rossetti <[email protected]>
Co-authored-by: Liming Liu <[email protected]>
Co-authored-by: Kalya Subramanian <[email protected]>
Co-authored-by: Jack Francis <[email protected]>
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.

Can't upgrade cluster using aks-engine 0.49 that was created using previous aks-engine versions
2 participants