I am using the Kong/Kong helm chart and need to configure some values. I am deploying the chart via Terraform so my values are passed via a yaml file. My main setup is working fine but I need to configure the proxy_protocol settings and also the proxy buffer size info due to cookies being returned via IdentityServer. At present, I have the following in my yaml document but none of the setting in the env section are being applied. I cannot find examples of how to provide these settings to the helm chart correctly.
deployment:
daemonset: true
ingressController:
installCRDs: false
proxy:
externalTrafficPolicy: Local
trusted_ips: 0.0.0.0/0,::/0
env:
KONG_TRUSTED_IPS: 0.0.0.0/0,::/0
KONG_PROXY_LISTEN: "0.0.0.0:8000 proxy_protocol, 0.0.0.0:8443 ssl proxy_protocol"
KONG_REAL_IP_HEADER: proxy_protocol
proxy_buffer_size: 128k
proxy_buffers: 4 256k
proxy_busy_buffers_size: 256k
large_client_header_buffers: 4 256k