Skip to content

Commit a251a9b

Browse files
Using the ingressClassName instead of metadata annotation
1 parent e26b8ee commit a251a9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/examples/aspnetapp.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ apiVersion: networking.k8s.io/v1
3232
kind: Ingress
3333
metadata:
3434
name: aspnetapp
35-
annotations:
36-
kubernetes.io/ingress.class: azure/application-gateway
3735
spec:
36+
ingressClassName: azure-application-gateway
3837
rules:
3938
- http:
4039
paths:

0 commit comments

Comments
 (0)