Skip to content

Feature Request: Add Proxy Protocol Configuration Support to APISIX Helm Chart #812

@casperakos

Description

@casperakos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions