Kong / charts

Helm chart for Kong
Apache License 2.0
247 stars 477 forks source link

fix(helpers) KONG_PORT_MAPS value for tls overrideServiceTarget port #1091

Open mithunkrb opened 3 months ago

mithunkrb commented 3 months ago

What this PR does / why we need it:

Currently KONG_PORT_MAPS uses the acutal tls serviceTargetPort even if overrideServiceTarget port is specified. This PR addresses the same, it uses tls overrideServiceTarget value when overrideServiceTarget is given.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]