Skip to content

Commit 94ccad7

Browse files
authored
Syntax updates
1 parent 03e031d commit 94ccad7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/aks/web-app-routing.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,18 @@ If you are going to use Azure DNS, update the add-on to pass in the `--dns-zone-
153153
Retrieve the resource ID for the DNS zone.
154154

155155
```azurecli-interactive
156-
# Retrieve the resource ID
157156
ZONEID=$(az network dns zone show -g <ResourceGroupName> -n <ZoneName> --query "id" --output tsv)
158157
```
159158

160159
Grant **DNS Zone Contributor** permissions on the DNS zone to the add-on's managed identity.
161160

162-
```azureclie-interactive
161+
```azurecli-interactive
163162
az role assignment create --role "DNS Zone Contributor" --assignee $MANAGEDIDENTITY_OBJECTID --scope $ZONEID
164163
```
165164

166165
Update the add-on to enable the integration with Azure DNS. This will create the **external-dns** controller.
167166

168-
```azureclie-interactive
167+
```azurecli-interactive
169168
az aks addon update -g <ResourceGroupName> -n <ClusterName> --addon web_application_routing --dns-zone-resource-id=$ZONEID
170169
```
171170

0 commit comments

Comments
 (0)