Proto: proxy_protocol_policy.proto

Package: trafficcontrol.policy.gloo.solo.io

Types:

ProxyProtocolPolicyReport

FieldDescription
workspaces(repeated ProxyProtocolPolicyReport.WorkspacesEntry)

The status of the resource in each workspace that it exists in.
selectedListeners(repeated common.gloo.solo.io.ListenerPortReference)

A list of virtual gateway listeners selected by the policy.

ProxyProtocolPolicyReport.WorkspacesEntry

FieldDescription
key(string)

value(common.gloo.solo.io.Report)

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.

  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
  
FieldDescription
applyToListeners(repeated ProxyProtocolPolicySpec.ListenerSelector)

Required: The VirtualGateway(s) and Port(s) to which this policy applies.
config(ProxyProtocolPolicySpec.Config)

Required: The configuration to apply to the listener.

ProxyProtocolPolicySpec.Config

FieldDescription
enableProxyProtocol(bool)

ProxyProtocolPolicySpec.ListenerSelector

FieldDescription
virtualGateway(common.gloo.solo.io.ObjectSelector)

port(common.gloo.solo.io.PortSelector)

ProxyProtocolPolicyStatus

reflects the status of the ProxyProtocolPolicy

FieldDescription
common(common.gloo.solo.io.Status)

numSelectedListeners(uint32)

The number of virtual gateway listeners selected by the policy.