diff --git a/api/gloo/gateway/v1/external_options.proto b/api/gloo/gateway/v1/external_options.proto index 500279d87..403396102 100644 --- a/api/gloo/gateway/v1/external_options.proto +++ b/api/gloo/gateway/v1/external_options.proto @@ -129,8 +129,6 @@ message VirtualHostOptionSpec { // When using Kubernetes Gateway API mode, targetRefs can be used to attach this VirtualHostOption // to a gateway.networking.k8s.io/Gateway object. The `options` specified will then be used // for all `Listeners` in the `Gateway` unless `targetRef.sectionName` is specified. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. repeated core.skv2.solo.io.PolicyTargetReferenceWithSectionName target_refs = 5; } @@ -247,8 +245,6 @@ message RouteOptionSpec { // When using Kubernetes Gateway API mode, targetRefs can be used to attach this RouteOption // to a gateway.networking.k8s.io/HTTPRoute object. The `options` specified will then be used // for all `Rules` in the `HTTPRoute`. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. repeated core.skv2.solo.io.PolicyTargetReference target_refs = 5; } @@ -261,8 +257,6 @@ message ListenerOptionSpec { // When using Kubernetes Gateway API mode, targetRefs can be used to attach this ListenerOption // to a gateway.networking.k8s.io/Gateway object. The `options` specified will then be used // for all `Listeners` in the `Gateway` unless `targetRef.sectionName` is specified. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. repeated core.skv2.solo.io.PolicyTargetReferenceWithSectionName target_refs = 3; } @@ -275,8 +269,6 @@ message HttpListenerOptionSpec { // When using Kubernetes Gateway API mode, targetRef can be used to attach this VirtualHostOption // to a gateway.networking.k8s.io/Gateway object. The `options` specified will then be used // for all `Listeners` in the `Gateway` unless `targetRef.sectionName` is specified. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. repeated core.skv2.solo.io.PolicyTargetReferenceWithSectionName target_refs = 3; } diff --git a/pkg/api/gateway.solo.io/v1/external_options.pb.go b/pkg/api/gateway.solo.io/v1/external_options.pb.go index e51802ff3..96e6a6770 100644 --- a/pkg/api/gateway.solo.io/v1/external_options.pb.go +++ b/pkg/api/gateway.solo.io/v1/external_options.pb.go @@ -380,8 +380,6 @@ type VirtualHostOptionSpec struct { // When using Kubernetes Gateway API mode, targetRefs can be used to attach this VirtualHostOption // to a gateway.networking.k8s.io/Gateway object. The `options` specified will then be used // for all `Listeners` in the `Gateway` unless `targetRef.sectionName` is specified. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. TargetRefs []*v11.PolicyTargetReferenceWithSectionName `protobuf:"bytes,5,rep,name=target_refs,json=targetRefs,proto3" json:"target_refs,omitempty"` } @@ -551,8 +549,6 @@ type RouteOptionSpec struct { // When using Kubernetes Gateway API mode, targetRefs can be used to attach this RouteOption // to a gateway.networking.k8s.io/HTTPRoute object. The `options` specified will then be used // for all `Rules` in the `HTTPRoute`. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. TargetRefs []*v11.PolicyTargetReference `protobuf:"bytes,5,rep,name=target_refs,json=targetRefs,proto3" json:"target_refs,omitempty"` } @@ -610,8 +606,6 @@ type ListenerOptionSpec struct { // When using Kubernetes Gateway API mode, targetRefs can be used to attach this ListenerOption // to a gateway.networking.k8s.io/Gateway object. The `options` specified will then be used // for all `Listeners` in the `Gateway` unless `targetRef.sectionName` is specified. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. TargetRefs []*v11.PolicyTargetReferenceWithSectionName `protobuf:"bytes,3,rep,name=target_refs,json=targetRefs,proto3" json:"target_refs,omitempty"` } @@ -669,8 +663,6 @@ type HttpListenerOptionSpec struct { // When using Kubernetes Gateway API mode, targetRef can be used to attach this VirtualHostOption // to a gateway.networking.k8s.io/Gateway object. The `options` specified will then be used // for all `Listeners` in the `Gateway` unless `targetRef.sectionName` is specified. - // NOTE: This is a repeated field but currently ONLY supports a single targetRef. - // If multiple targetRefs are provided, only the first in the list will be used. TargetRefs []*v11.PolicyTargetReferenceWithSectionName `protobuf:"bytes,3,rep,name=target_refs,json=targetRefs,proto3" json:"target_refs,omitempty"` }