|
|
@ -117,9 +117,6 @@ func newRootCmd(args []string) *cobra.Command {
|
|
|
|
|
|
|
|
|
|
|
|
// Hidden documentation generator command: 'helm docs'
|
|
|
|
// Hidden documentation generator command: 'helm docs'
|
|
|
|
newDocsCmd(out),
|
|
|
|
newDocsCmd(out),
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated
|
|
|
|
|
|
|
|
markDeprecated(newRepoUpdateCmd(out), "use 'helm repo update'\n"),
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
flags.Parse(args)
|
|
|
|
flags.Parse(args)
|
|
|
@ -145,11 +142,6 @@ func main() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func markDeprecated(cmd *cobra.Command, notice string) *cobra.Command {
|
|
|
|
|
|
|
|
cmd.Deprecated = notice
|
|
|
|
|
|
|
|
return cmd
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func setupConnection() error {
|
|
|
|
func setupConnection() error {
|
|
|
|
if settings.TillerHost == "" {
|
|
|
|
if settings.TillerHost == "" {
|
|
|
|
config, client, err := getKubeClient(settings.KubeContext)
|
|
|
|
config, client, err := getKubeClient(settings.KubeContext)
|
|
|
|