charts icon indicating copy to clipboard operation
charts copied to clipboard

[stable/nginx-ingress] There is no way to set externalTrafficPolicy for internal service

Open stefanolczak opened this issue 6 years ago • 3 comments

Describe the bug There is a way to set spec.externalTrafficPolicy for service created by nginx-ingress by setting controller.service.externalTrafficPolicy. It is also possible to create another "internal" service by setting controller.service.internal.enabled and controller.service.internal.annotations. The problem is there is no way to set spec.externalTrafficPolicy for the internal service.

Which chart: stable/nginx-ingress

What you expected to happen: Allow setting spec.externalTrafficPolicy for internal service or use the same value from "main" service. This can be useful when using NLB from AWS to allow source IP preservation.

stefanolczak avatar Sep 02 '20 08:09 stefanolczak

Also there is no way to set spec.loadBalancerSourceRanges for internal service.

stefanolczak avatar Sep 02 '20 11:09 stefanolczak

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Oct 03 '20 15:10 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Oct 24 '20 08:10 stale[bot]