Use https when Insecure is selected.

I'm happy to rename Secure to UseTLS.   But I'm not interested in finding
out if changing the file format breaks anyone.

On Thu, Nov 13, 2014 at 8:33 PM, Daniel Smith <notifications@github.com>
wrote:

> In pkg/client/helper_test.go:
>
> > @@ -76,6 +76,13 @@ func TestIsConfigTransportSecure(t *testing.T) {
> >  			},
> >  			Secure: false,
> >  		},
> > +		{
> > +			Config: &Config{
> > +				Host:     "1.2.3.4:567",
> > +				Insecure: true,
> > +			},
> > +			Secure: true,
>
> @erictune <https://github.com/erictune> is it too much to ask for this PR
> for Insecure/Secure to get disambiguated to "NoCertCheck" and UseTLS? These
> are concepts that we shouldn't conflate...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/2343/files#r20342606>
> .
>