Skip to content

Commit 82102c3

Browse files
authored
Update kind-with-registry.sh
Specify resource group when `az storage account show`
1 parent f27ddf9 commit 82102c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kind-with-registry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function checkAZWIENVPreReqsAndCreateFiles() {
114114
az storage container create --name "${AZWI_STORAGE_CONTAINER}" --account-name "${AZWI_STORAGE_ACCOUNT}" --output none --only-show-errors
115115
fi
116116

117-
SERVICE_ACCOUNT_ISSUER=$(az storage account show --name "${AZWI_STORAGE_ACCOUNT}" -o json | jq -r .primaryEndpoints.web)
117+
SERVICE_ACCOUNT_ISSUER=$(az storage account show --name "${AZWI_STORAGE_ACCOUNT}" --resource-group "${AZWI_RESOURCE_GROUP}" -o json | jq -r .primaryEndpoints.web)
118118
export SERVICE_ACCOUNT_ISSUER
119119
AZWI_OPENID_CONFIG_FILEPATH="${REPO_ROOT}/openid-configuration.json"
120120
cat <<EOF > "${AZWI_OPENID_CONFIG_FILEPATH}"

0 commit comments

Comments
 (0)