Make "kubecfg -s <port> run ..." select correctly

kubecfg run creates a replication controller which sets all pods with a
replicationController= label, but then sets up a service selecting on name=
instead.  This fixes that.  kubecfg -s <port> run ... can now actually work.
Sigh.  Running e2e now.  Here I thought I was getting off easy.

On Mon, Sep 22, 2014 at 1:32 PM, bgrant0607 <notifications@github.com>
wrote:

> In pkg/kubecfg/kubecfg.go:
>
> > @@ -255,7 +255,7 @@ func createService(name string, port int, client client.Interface) (*api.Service
> >  			"name": name,
> >  		},
> >  		Selector: map[string]string{
> > -			"name": name,
> > +			"replicationController": name,
>
> Note that if we change the labels used, the e2etest apparently needs to be
> updated here:
>
> https://github.com/GoogleCloudPlatform/kubernetes/blob/master/hack/e2e-suite/update.sh#L33
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/1397/files#r17876015>
> .
>