proxy_protocol_policy.proto

Package : trafficcontrol.policy.gloo.solo.io

Top

proxy_protocol_policy.proto

Table of Contents

ProxyProtocolPolicySpec

ProxyProtocolPolicy is used to enable proxy protocol for gateway listener(s).
For more details on ProxyProtocol, visit: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt<br>``` apiVersion: trafficcontrol.policy.gloo.solo.io/v2 kind: ProxyProtocolPolicy metadata: name: my-policy namespace: bookinfo spec: config: enabledProxyProtocol: true applyToListeners: - virtualGateway: name: virtual-gateway namespace: bookinfo cluster: my-cluster port: number: 443 ```

Field Type Label Description
applyToListeners []trafficcontrol.policy.gloo.solo.io.ProxyProtocolPolicySpec.ListenerSelector repeated Required: The VirtualGateway(s) and Port(s) to which this policy applies.
config trafficcontrol.policy.gloo.solo.io.ProxyProtocolPolicySpec.Config Required: The configuration to apply to the listener.

ProxyProtocolPolicySpec.Config

Field Type Label Description
enableProxyProtocol bool

ProxyProtocolPolicySpec.ListenerSelector

Field Type Label Description
virtualGateway common.gloo.solo.io.ObjectSelector
port common.gloo.solo.io.PortSelector

ProxyProtocolPolicyStatus

reflects the status of the ProxyProtocolPolicy

Field Type Label Description
observedGeneration int64 The most recent generation observed in the the object's metadata. If the observedGeneration does not match metadata.generation, Gloo Mesh has not processed the most recent version of this object.
state common.gloo.solo.io.ApprovalState Whether the resource has been accepted as valid and processed in the Gloo Mesh config translation.