Inspired by https://github.com/stevesloka/envoy-xds-server, this repo is my playground to learn how to write Envoy XDS and external authorization service.
make cert
docker-compose up -d
curl -k -v -H "x-route: echo-server-1" -H "Authorization: Bearer echo-server-1-password" https://localhost:9000
curl -k -v -H "x-route: envoy-web" -H "Authorization: Bearer envoy-web-password" https://localhost:9000
# route to another envoy
curl -k -v -H "x-route: cluster2" -H "Authorization: Bearer cluster2-password" https://localhost:9000