k3s/pkg/api/v1beta2
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
..
conversion.go Revert "Revert "Adding converter functions to convert field label selectors to internal version before matching"" 2015-03-02 15:00:09 -08:00
conversion_test.go Revert "Multi-port Endpoints" 2015-02-23 13:53:21 -08:00
defaults.go Merge pull request #4916 from thockin/plural_21_endpoints 2015-03-02 10:53:32 -08:00
defaults_test.go Rename type Port to ContainerPort 2015-02-27 21:05:59 -08:00
doc.go Add v1beta2 API objects 2014-09-16 16:11:26 -04:00
register.go Change the v1b3 default for service ContainerPort 2015-03-03 09:40:18 -08:00
types.go Rename type Port to ContainerPort 2015-02-27 21:05:59 -08:00