Skip to content

Commit c2da768

Browse files
committed
Forgot command
1 parent b04f592 commit c2da768

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scenarios/AksKaito/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ export AKS_OIDC_ISSUER=$(az aks show --resource-group "${AZURE_RESOURCE_GROUP}"
134134
--query "oidcIssuerProfile.issuerUrl" \
135135
-o tsv)
136136

137+
export PRINCIPAL_ID=$(az identity show --name "ai-toolchain-operator-${CLUSTER_NAME}" \
138+
--resource-group "${MC_RESOURCE_GROUP}" \
139+
--query 'principalId' \
140+
-o tsv)
141+
137142
az role assignment create --role "Contributor" \
138143
--assignee "${PRINCIPAL_ID}" \
139144
--scope "/subscriptions/${SUBSCRIPTION_ID}/resourcegroups/${AZURE_RESOURCE_GROUP}"

0 commit comments

Comments
 (0)