canonical / traefik-route-k8s-operator

Configuration charm for traefik-k8s.
https://charmhub.io/traefik-route-k8s
Apache License 2.0
0 stars 3 forks source link

support path-only root url #3

Open PietroPasotti opened 2 years ago

PietroPasotti commented 2 years ago

If the root_url begins with /, we will fill in the host and port for you:

root_url="/baz/" will become: http://{external-hostname | loadbalancer ip}:{port}/baz/

This requires passing the host and port data from traefik to traefik-route, or passing the url template from Route to Traefik and the rendered url back to Route. (I guess the first is fine).