From e7bca2fa3ebf514f8b1e6ba3b0eb38c8fe1dc43e Mon Sep 17 00:00:00 2001 From: Kraig Amador Date: Wed, 27 Jun 2018 14:45:30 -0700 Subject: [PATCH] Setting all examples to leverage the `kubernetes.io/ingress.class` annotation --- examples/alb-ingress-controller.yaml | 4 ++-- examples/echoservice/echoserver-ingress.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/alb-ingress-controller.yaml b/examples/alb-ingress-controller.yaml index c0bf2e0efa..28b8a9831a 100644 --- a/examples/alb-ingress-controller.yaml +++ b/examples/alb-ingress-controller.yaml @@ -41,10 +41,10 @@ spec: # Limit the namespace where this ALB Ingress Controller deployment will # resolve ingress resources. If left commented, all namespaces are used. #- --watch-namespace=your-k8s-namespace - # Setting the ingress-class flag below will ensure that only ingress resources with the + # Setting the ingress-class flag below ensures that only ingress resources with the # annotation kubernetes.io/ingress.class: "alb" are respected by the controller. You may # choose any class you'd like for this controller to respect. - #- --ingress-class=alb + - --ingress-class=alb env: # AWS region this ingress controller will operate in. # List of regions: diff --git a/examples/echoservice/echoserver-ingress.yaml b/examples/echoservice/echoserver-ingress.yaml index 02910a81db..65ec4d39d5 100644 --- a/examples/echoservice/echoserver-ingress.yaml +++ b/examples/echoservice/echoserver-ingress.yaml @@ -4,7 +4,7 @@ metadata: name: echoserver namespace: echoserver annotations: - # kubernetes.io/ingress.class: alb + kubernetes.io/ingress.class: alb alb.ingress.kubernetes.io/scheme: internet-facing #alb.ingress.kubernetes.io/subnets: subnet-1234 #alb.ingress.kubernetes.io/security-groups: sg-1234