diff --git a/networking/v1/destination_rule_alias.gen.go b/networking/v1/destination_rule_alias.gen.go index 76c48e73fd..a0403feedb 100644 --- a/networking/v1/destination_rule_alias.gen.go +++ b/networking/v1/destination_rule_alias.gen.go @@ -35,6 +35,10 @@ type DestinationRule = v1alpha3.DestinationRule type TrafficPolicy = v1alpha3.TrafficPolicy // Traffic policies that apply to specific ports of the service +// Note that port-level settings override the destination-level settings. +// Traffic settings specified at the destination-level will not be inherited +// when overridden by port-level settings, i.e. default values will be +// applied to fields omitted in port-level traffic policies. type TrafficPolicy_PortTrafficPolicy = v1alpha3.TrafficPolicy_PortTrafficPolicy type TrafficPolicy_TunnelSettings = v1alpha3.TrafficPolicy_TunnelSettings type TrafficPolicy_ProxyProtocol = v1alpha3.TrafficPolicy_ProxyProtocol diff --git a/networking/v1alpha3/destination_rule.pb.go b/networking/v1alpha3/destination_rule.pb.go index c2a1474e78..b44fea8746 100644 --- a/networking/v1alpha3/destination_rule.pb.go +++ b/networking/v1alpha3/destination_rule.pb.go @@ -1692,6 +1692,10 @@ func (x *LocalityLoadBalancerSetting) GetEnabled() *wrappers.BoolValue { } // Traffic policies that apply to specific ports of the service +// Note that port-level settings override the destination-level settings. +// Traffic settings specified at the destination-level will not be inherited +// when overridden by port-level settings, i.e. default values will be +// applied to fields omitted in port-level traffic policies. type TrafficPolicy_PortTrafficPolicy struct { state protoimpl.MessageState `protogen:"open.v1"` // Specifies the number of a port on the destination service diff --git a/networking/v1alpha3/destination_rule.pb.html b/networking/v1alpha3/destination_rule.pb.html index d465b81f6a..bb5bf151dc 100644 --- a/networking/v1alpha3/destination_rule.pb.html +++ b/networking/v1alpha3/destination_rule.pb.html @@ -283,7 +283,11 @@

TrafficPolicy

PortTrafficPolicy

-

Traffic policies that apply to specific ports of the service

+

Traffic policies that apply to specific ports of the service +Note that port-level settings override the destination-level settings. +Traffic settings specified at the destination-level will not be inherited +when overridden by port-level settings, i.e. default values will be +applied to fields omitted in port-level traffic policies.

diff --git a/networking/v1alpha3/destination_rule.proto b/networking/v1alpha3/destination_rule.proto index d2589a87aa..305838fde7 100644 --- a/networking/v1alpha3/destination_rule.proto +++ b/networking/v1alpha3/destination_rule.proto @@ -219,6 +219,10 @@ message TrafficPolicy { ClientTLSSettings tls = 4; // Traffic policies that apply to specific ports of the service + // Note that port-level settings override the destination-level settings. + // Traffic settings specified at the destination-level will not be inherited + // when overridden by port-level settings, i.e. default values will be + // applied to fields omitted in port-level traffic policies. message PortTrafficPolicy { // Specifies the number of a port on the destination service // on which this policy is being applied. diff --git a/networking/v1beta1/destination_rule_alias.gen.go b/networking/v1beta1/destination_rule_alias.gen.go index e4ba6cb84e..5a6ddb1429 100644 --- a/networking/v1beta1/destination_rule_alias.gen.go +++ b/networking/v1beta1/destination_rule_alias.gen.go @@ -35,6 +35,10 @@ type DestinationRule = v1alpha3.DestinationRule type TrafficPolicy = v1alpha3.TrafficPolicy // Traffic policies that apply to specific ports of the service +// Note that port-level settings override the destination-level settings. +// Traffic settings specified at the destination-level will not be inherited +// when overridden by port-level settings, i.e. default values will be +// applied to fields omitted in port-level traffic policies. type TrafficPolicy_PortTrafficPolicy = v1alpha3.TrafficPolicy_PortTrafficPolicy type TrafficPolicy_TunnelSettings = v1alpha3.TrafficPolicy_TunnelSettings type TrafficPolicy_ProxyProtocol = v1alpha3.TrafficPolicy_ProxyProtocol