Merge pull request #2343 from erictune/tokens_need_private_comms

Use https when Insecure is selected.
This commit is contained in:
Daniel Smith
2014-11-14 09:51:59 -08:00
4 changed files with 28 additions and 20 deletions

View File

@@ -170,7 +170,7 @@ func GetKubeConfig(cmd *cobra.Command) *client.Config {
}
config.Host = host
if client.IsConfigTransportSecure(config) {
if client.IsConfigTransportTLS(config) {
// Get the values from the file on disk (or from the user at the
// command line). Override them with the command line parameters, if
// provided.