|
|
|
@ -42,10 +42,9 @@ import (
|
|
|
|
|
var (
|
|
|
|
|
tillerTunnel *kube.Tunnel
|
|
|
|
|
settings helm_env.EnvSettings
|
|
|
|
|
rootCmd *cobra.Command
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var RootCmd *cobra.Command
|
|
|
|
|
|
|
|
|
|
var globalUsage = `The Kubernetes package manager
|
|
|
|
|
|
|
|
|
|
To begin working with Helm, run the 'helm init' command:
|
|
|
|
@ -159,7 +158,7 @@ func newRootCmd(args []string) *cobra.Command {
|
|
|
|
|
// Find and add plugins
|
|
|
|
|
loadPlugins(cmd, out)
|
|
|
|
|
|
|
|
|
|
RootCmd = cmd
|
|
|
|
|
rootCmd = cmd
|
|
|
|
|
|
|
|
|
|
return cmd
|
|
|
|
|
}
|
|
|
|
@ -295,3 +294,8 @@ func newClient() helm.Interface {
|
|
|
|
|
}
|
|
|
|
|
return helm.NewClient(options...)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GetRootCmd returns the root cobra command
|
|
|
|
|
func GetRootCmd() *cobra.Command {
|
|
|
|
|
return rootCmd
|
|
|
|
|
}
|
|
|
|
|