File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -438,9 +438,11 @@ If you are using [aad pod identity](https://azure.github.io/aad-pod-identity/doc
438438
439439` ` ` sh
440440export IDENTITY_NAME="blob-access"
441+
441442az role assignment create --role "Storage Blob Data Contributor" \
442443--assignee-object-id "$(az identity show -n blob-access -o tsv --query principalId -g $RESOURCE_GROUP)" \
443444--scope "/subscriptions/<SUBSCRIPTION-ID>/resourceGroups/aks-somto/providers/Microsoft.Storage/storageAccounts/<account-name>/blobServices/default/containers/<container-name>"
445+
444446export IDENTITY_CLIENT_ID="$(az identity show -n ${IDENTITY_NAME} -g ${RESOURCE_GROUP} -otsv --query clientId)"
445447export IDENTITY_RESOURCE_ID="$(az identity show -n ${IDENTITY_NAME} -otsv --query id)"
446448` ` `
You can’t perform that action at this time.
0 commit comments