Skip to content

Commit 101ee77

Browse files
authored
Merge pull request #436 from kubernetes-sigs/consistent-ingress-class-examples
Setting all examples to leverage the `kubernetes.io/ingress.class` annotation
2 parents abf4496 + e7bca2f commit 101ee77

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/alb-ingress-controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ spec:
4141
# Limit the namespace where this ALB Ingress Controller deployment will
4242
# resolve ingress resources. If left commented, all namespaces are used.
4343
#- --watch-namespace=your-k8s-namespace
44-
# Setting the ingress-class flag below will ensure that only ingress resources with the
44+
# Setting the ingress-class flag below ensures that only ingress resources with the
4545
# annotation kubernetes.io/ingress.class: "alb" are respected by the controller. You may
4646
# choose any class you'd like for this controller to respect.
47-
#- --ingress-class=alb
47+
- --ingress-class=alb
4848
env:
4949
# AWS region this ingress controller will operate in.
5050
# List of regions:

examples/echoservice/echoserver-ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: echoserver
55
namespace: echoserver
66
annotations:
7-
# kubernetes.io/ingress.class: alb
7+
kubernetes.io/ingress.class: alb
88
alb.ingress.kubernetes.io/scheme: internet-facing
99
#alb.ingress.kubernetes.io/subnets: subnet-1234
1010
#alb.ingress.kubernetes.io/security-groups: sg-1234

0 commit comments

Comments
 (0)