[Helm Chart] Consul Advertise Address can't be configurable from `extraConfig`

Hi team,

we want to expose our consul server inside kubernetes to public,
but we found that the ADVERTISE_IP in the helm template is just expose to pod ip / host ip, it can’t be configurable enough,

we try to add in the server.extraConfig section, but still failed to advertise it to public ip :

  extraConfig: |
      "advertise_addr": "{{ `{{` }} GetPublicIPs {{ `}}` }}",
      "bind_addr": "{{ `{{` }} GetPublicIPs {{ `}}` }}"

is there any other way to advertise the consul server to public?, as we need to connect a public server (VPS/Baremetal/etc) to the consul server inside our EKS Cluster?