Open Startouf opened 2 years ago
The first example only works when you are in the same namespace. Second will always work.
Moreover, the first example only works when traefik and the traefik-forward-auth service are in the same namespace. Traefik does not respect the namespace of the middleware when resolving the address.
I tried with both
address: http://traefik-forward-auth:4181
and address: http://traefik-forward-auth.[namespace].svc.cluster.local:4181
Nothing works for me. Any suggestions? I have traefik and forward-auth in the same namespace.
I have tried following the various tutorials that used
But after struggling for a long time, and this syntax was not working, I figured out I needed to use the proper kubernetes DNS with the namespace
So this becomes
I believe this should be the recommended practice, what do you think ?