Skip to content

Commit f8e8c97

Browse files
committed
remove custom ACR role for token management
custom roles are heavily limited in MSFT tenants, therefore we will leverage the built-in `Container Registry Contributor and Data Access Configuration Administrator` role consistently in all environments instead. Signed-off-by: Gerd Oberlechner <[email protected]>
1 parent bac3640 commit f8e8c97

16 files changed

+1
-98
lines changed

config/config.msft.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ defaults:
88
global:
99
rg: global-shared-resources
1010
subscription: hcp-{{ .ctx.region }}
11-
manageTokenCustomRole: false
1211
region: uksouth
1312
globalMSIName: "global-ev2-identity"
1413

config/config.schema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,6 @@
221221
"subscription": {
222222
"type": "string"
223223
},
224-
"manageTokenCustomRole": {
225-
"type": "boolean"
226-
},
227224
"region": {
228225
"type": "string"
229226
},
@@ -235,7 +232,6 @@
235232
"required": [
236233
"rg",
237234
"subscription",
238-
"manageTokenCustomRole",
239235
"region"
240236
]
241237
},

config/config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ defaults:
66
global:
77
rg: global
88
subscription: ARO Hosted Control Planes (EA Subscription 1)
9-
manageTokenCustomRole: true
109
region: westus3
1110
globalMSIName: "global-rollout-identity"
1211

config/public-cloud-cs-pr.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
},
6262
"global": {
6363
"globalMSIName": "global-rollout-identity",
64-
"manageTokenCustomRole": true,
6564
"region": "westus3",
6665
"rg": "global",
6766
"subscription": "ARO Hosted Control Planes (EA Subscription 1)"

config/public-cloud-dev.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
},
6262
"global": {
6363
"globalMSIName": "global-rollout-identity",
64-
"manageTokenCustomRole": true,
6564
"region": "westus3",
6665
"rg": "global",
6766
"subscription": "ARO Hosted Control Planes (EA Subscription 1)"

config/public-cloud-msft-int.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
},
6262
"global": {
6363
"globalMSIName": "global-ev2-identity",
64-
"manageTokenCustomRole": false,
6564
"region": "uksouth",
6665
"rg": "global-shared-resources",
6766
"subscription": "hcp-westus3"

config/public-cloud-personal-dev.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
},
6262
"global": {
6363
"globalMSIName": "global-rollout-identity",
64-
"manageTokenCustomRole": true,
6564
"region": "westus3",
6665
"rg": "global",
6766
"subscription": "ARO Hosted Control Planes (EA Subscription 1)"

dev-infrastructure/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ configurations/cs-integ-msi.bicepparam
1212
configurations/output-region.bicepparam
1313
configurations/mock-identities.bicepparam
1414
configurations/global-acr.bicepparam
15-
configurations/global-roles.bicepparam
1615
configurations/global-infra.bicepparam
1716
config.mk
1817

dev-infrastructure/configurations/global-roles.tmpl.bicepparam

Lines changed: 0 additions & 3 deletions
This file was deleted.

dev-infrastructure/configurations/svc-cluster.tmpl.bicepparam

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ param serviceKeyVaultResourceGroup = '{{ .serviceKeyVault.rg }}'
4040

4141
param acrPullResourceGroups = ['{{ .global.rg }}']
4242
param clustersServiceAcrResourceGroupNames = ['{{ .clusterService.acrRG }}']
43-
param useCustomACRTokenManagementRole = {{ .global.manageTokenCustomRole }}
4443

4544
param oidcStorageAccountName = '{{ .oidcStorageAccountName }}'
4645
param aroDevopsMsiId = '{{ .aroDevopsMsiId }}'

0 commit comments

Comments
 (0)