From 461cecb31f30f3ffc36a14ea0639cc0b69e1d914 Mon Sep 17 00:00:00 2001 From: James Peach Date: Fri, 17 Jan 2020 08:50:48 +1100 Subject: [PATCH] internal/dag: mark ingress.class annotation valid for HTTPProxies The "kubernetes.io/ingress.class" annotation is valid for all ingress-like document kinds. This fixes #2119. Signed-off-by: James Peach --- internal/dag/annotations.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/dag/annotations.go b/internal/dag/annotations.go index 894abd04c50..f35f10157bc 100644 --- a/internal/dag/annotations.go +++ b/internal/dag/annotations.go @@ -68,9 +68,11 @@ var annotationsByKind = map[string]map[string]struct{}{ "projectcontour.io/upstream-protocol.tls": {}, }, "HTTPProxy": { + "kubernetes.io/ingress.class": {}, "projectcontour.io/ingress.class": {}, }, "IngressRoute": { + "kubernetes.io/ingress.class": {}, "projectcontour.io/ingress.class": {}, }, }