Skip to content

Commit f2d8d19

Browse files
authored
Merge pull request #93699 from deuch/patch-1
Fix typo and use the KV URL of the certificate
2 parents 6dbd73a + d133705 commit f2d8d19

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/aks/web-app-routing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ The Web Application Routing solution may only be triggered on service resources
128128
```yaml
129129
annotations:
130130
kubernetes.azure.com/ingress-host: myapp.contoso.com
131-
kubernetes.azure.com/tls-cert-keyvault-uri: myapp-contoso.vault.azure.net
131+
kubernetes.azure.com/tls-cert-keyvault-uri: myapp-contoso.vault.azure.net/certificates/keyvault-certificate-name/keyvault-certificate-name-revision
132132
```
133133
134-
These annotations in the service manifest would direct Web Application Routing to create an ingress servicing `myapp.contoso.com` connected to the keyvault `myapp-contoso`.
134+
These annotations in the service manifest would direct Web Application Routing to create an ingress servicing `myapp.contoso.com` connected to the keyvault `myapp-contoso` and will retrieve the `keyvault-certificate-name` with `keyvault-certificate-name-revision`
135135

136-
Create a file named **samples-web-app-routing.yaml** and copy in the following YAML. On line 29-31, update `<MY_HOSTNAME>` with your DNS host name and `<MY_KEYVAULT_URI>` with the vault URI collected in the previous step of this article.
136+
Create a file named **samples-web-app-routing.yaml** and copy in the following YAML. On line 29-31, update `<MY_HOSTNAME>` with your DNS host name and `<MY_KEYVAULT_URI>` with the full certficicate vault URI.
137137

138138
```yaml
139139
apiVersion: apps/v1
@@ -163,9 +163,9 @@ apiVersion: v1
163163
kind: Service
164164
metadata:
165165
name: aks-helloworld
166-
annotations:
167-
kubernetes.azure.com/ingress-host: <MY_HOSTNAME>
168-
kubernetes.azure.com/tls-cert-keyvault-uri: <MY_KEYVAULT_URI>
166+
annotations:
167+
kubernetes.azure.com/ingress-host: <MY_HOSTNAME>
168+
kubernetes.azure.com/tls-cert-keyvault-uri: <MY_KEYVAULT_URI>
169169
spec:
170170
type: ClusterIP
171171
ports:

0 commit comments

Comments
 (0)