k3s/pkg/service
Tim Hockin 5aadd6ecae Change the v1b3 default for service ContainerPort
In v1b1 and v1b2 we choose the "first defined port" if you do not specify a
ContainerPort.  I am proposing that v1b3 just assume the ContainerPort is the
same as the service port unless explicitly provided.  This leaves named ports
for now, but that is under discussion on its own.

This is strictly compatible, though to implement this we have to leave the
internal objects with the looser behavior until v1b[12] die.  This also adds a
link dependency so that when we DO kill v1b[12] the endpoints controller will
blow up, prompting a fix.
2015-03-03 09:40:18 -08:00
..
doc.go Add several missing pkg Godoc files 2014-09-02 13:41:11 +02:00
endpoints_controller.go Change the v1b3 default for service ContainerPort 2015-03-03 09:40:18 -08:00
endpoints_controller_test.go Rename type Port to ContainerPort 2015-02-27 21:05:59 -08:00