apache / apisix-helm-chart

Apache APISIX Helm Chart
https://apisix.apache.org/
Apache License 2.0
232 stars 209 forks source link

Allow nodePort & servicePort also to be configured in additionalContainerPorts #787

Open pavankumar-go opened 3 weeks ago

pavankumar-go commented 3 weeks ago

currently for configuring gateway service only the port parameter is used to populate TargetPort and ServicePort. which is quite limiting in certain conditions

    additionalContainerPorts:
      - port: 9081

With added changes:

    additionalContainerPorts:
      - port: 8443
        servicePort: 80    # optional, if not set uses `.port` value, hence it does not cause breaking changes
        nodePort: 30303 # optional