Skip to content

feat(chart): add configurable Service externalTrafficPolicy - #393

Open
Tom Kerkhove (tomkerkhove) with Copilot wants to merge 2 commits into
mainfrom
copilot/support-external-traffic-policy
Open

feat(chart): add configurable Service externalTrafficPolicy#393
Tom Kerkhove (tomkerkhove) with Copilot wants to merge 2 commits into
mainfrom
copilot/support-external-traffic-policy

Conversation

Copilot AI commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

This change adds Helm chart support for configuring Kubernetes Service.spec.externalTrafficPolicy, enabling deployments behind ingress/LB to preserve client source IPs for IP filtering and gateway logs.

  • Service configuration

    • Added service.externalTrafficPolicy to chart values as an optional setting (Cluster or Local).
  • Template behavior

    • Updated templates/service.yaml to render spec.externalTrafficPolicy only when:
      • service.externalTrafficPolicy is set, and
      • service.type is NodePort or LoadBalancer.
  • Chart documentation

    • Regenerated chart README so the new value is included in the Networking configuration table.
service:
  type: LoadBalancer
  externalTrafficPolicy: Local

Copilot AI changed the title [WIP] Add configurable externalTrafficPolicy to Helm chart feat(chart): add configurable Service externalTrafficPolicy Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support externalTrafficPolicy in Helm Chart

2 participants