ProxyProtocolPolicy

Proto: proxy_protocol_policy.proto

Package: trafficcontrol.policy.gloo.solo.io

Types:

ProxyProtocolPolicyReport

Field Description
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

Field Description
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
Field Description
applyToListeners (repeated common.gloo.solo.io.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

Field Description
enableProxyProtocol (bool)

ProxyProtocolPolicyStatus

The status of the policy after it is applied to your Gloo environment.

Field Description
common (common.gloo.solo.io.Status)

The state and workspace conditions of the applied resource.
numSelectedListeners (uint32)

The number of virtual gateway listeners selected by the policy.