k3s/pkg/api/endpoints
Tim Hockin 06b785ca52 Allow headless svc without ports to have endpoints
As cited in
https://github.com/kubernetes/dns/issues/174 - this is documented to
work, and I don't see why it shouldn't work.  We allowed the definition
of headless services without ports, but apparently nobody tested it very
well.

Manually tested clusterIP services with no ports - validation error.

Manually tested services with negative ports - validation error.

New tests failed, output inspected and verified.  Now pass.
2018-08-21 08:36:27 -07:00
..
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
OWNERS
util.go Allow headless svc without ports to have endpoints 2018-08-21 08:36:27 -07:00
util_test.go Allow headless svc without ports to have endpoints 2018-08-21 08:36:27 -07:00