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.
This commit is contained in:
Filinto Duran 2020-12-08 19:48:00 -06:00
parent e1c617a88e
commit 2d4794513e

View File

@ -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