From 2d4794513ea11bb1aee3a40318a33987e9157036 Mon Sep 17 00:00:00 2001 From: Filinto Duran Date: Tue, 8 Dec 2020 19:48:00 -0600 Subject: [PATCH] Update types.go Minor comment on BackendPort Name that should follow IANA. Service port names do not have this restriction so there is a mismatch. --- pkg/apis/networking/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/apis/networking/types.go b/pkg/apis/networking/types.go index 4ba83a844e8..3e44a2ee28e 100644 --- a/pkg/apis/networking/types.go +++ b/pkg/apis/networking/types.go @@ -491,6 +491,7 @@ type IngressServiceBackend struct { // ServiceBackendPort is the service port being referenced. type ServiceBackendPort struct { // Name is the name of the port on the Service. + // This must be an IANA_SVC_NAME (following RFC6335). // This is a mutually exclusive setting with "Number". // +optional Name string