30x / k8s-router

A general purpose router for Kubernetes.
Apache License 2.0
15 stars 2 forks source link

We need to validate the value of trafficHosts #8

Closed whitlockjc closed 8 years ago

whitlockjc commented 8 years ago

Right now, we just validate that trafficHosts is set and do not validate that it has a value in it. So if you set it to an empty string, you'll end up with a proxy_pass in nginx.conf that will be invalid and nginx will die.