-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Description
I would like to add support for configuring the PROXY protocol in the APISIX helm chart. Currently, the PROXY protocol configuration exists in the template as commented code, but there's no way to enable or configure it via values.yaml.
Motivation
The PROXY protocol allows load balancers to pass client connection information to APISIX. This is especially useful in Kubernetes environments where APISIX is deployed behind a load balancer, and the original client IP needs to be preserved.
Implementation Plan
- Added proxy protocol configuration options to values.yaml with default values:
proxyProtocol:
enabled: false
listenHTTPPort: 9181
listenHTTPSPort: 9182
enableTCPPP: false
enableTCPPPToUpstream: false - Updated configmap.yaml to conditionally include proxy_protocol configuration when enabled
- Added schema validation in values.schema.json for the new options
- Updated README.md with documentation for the new configuration options
These changes allow users to easily enable and configure proxy protocol support through the helm chart values, rather than having to manually modify the configmap.
muratoreT
Metadata
Metadata
Assignees
Labels
No labels