ProxyProtocolPolicy
Proto: proxy_protocol_policy.proto
Package: trafficcontrol.policy.gloo.solo.io
Types:
- ProxyProtocolPolicySpec
- ProxyProtocolPolicySpec.Config
- ProxyProtocolPolicySpec.ListenerSelector
- ProxyProtocolPolicyStatus
- ProxyProtocolPolicyStatus.WorkspacesEntry
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 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
Field | Description |
---|---|
enableProxyProtocol |
(bool ) |
ProxyProtocolPolicySpec.ListenerSelector
Field | Description |
---|---|
virtualGateway |
(common.gloo.solo.io.ObjectSelector ) |
port |
(common.gloo.solo.io.PortSelector ) |
ProxyProtocolPolicyStatus
reflects the status of the ProxyProtocolPolicy
Field | Description |
---|---|
observedGeneration |
(int64 )DEPRECATED: Use global instead |
state |
(common.gloo.solo.io.ApprovalState )DEPRECATED: Use workspaces instead |
global |
(common.gloo.solo.io.GenericGlobalStatus )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. |
workspaces |
(repeated ProxyProtocolPolicyStatus.WorkspacesEntry )Whether the resource has been accepted as valid and processed in the Gloo Mesh config translation. The status of the resource in each workspace that it exists in. |
selectedListeners |
(repeated common.gloo.solo.io.ListenerPortReference )Virtual Gateway listeners selected by the policy. |
ProxyProtocolPolicyStatus.WorkspacesEntry
Field | Description |
---|---|
key |
(string ) |
value |
(common.gloo.solo.io.WorkspaceStatus ) |