|
|
|
@ -43,6 +43,14 @@ const repoDesc = `Helm repositories store Helm charts.
|
|
|
|
|
For more details, use 'helm repo CMD -h'.
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
const addRepoDesc = `The add repository command is used to add a name a repository url to your
|
|
|
|
|
chart repository list. The repository url must begin with a valid protocoal. At the moment,
|
|
|
|
|
we only support google cloud storage for chart repositories.
|
|
|
|
|
|
|
|
|
|
A valid command might look like:
|
|
|
|
|
$ helm repo add charts gs://kubernetes-charts
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
func repoCommands() cli.Command {
|
|
|
|
|
return cli.Command{
|
|
|
|
|
Name: "repository",
|
|
|
|
@ -51,10 +59,11 @@ func repoCommands() cli.Command {
|
|
|
|
|
Description: repoDesc,
|
|
|
|
|
Subcommands: []cli.Command{
|
|
|
|
|
{
|
|
|
|
|
Name: "add",
|
|
|
|
|
Usage: "Add a chart repository to the remote manager.",
|
|
|
|
|
ArgsUsage: "[NAME] [REPOSITORY_URL]",
|
|
|
|
|
Action: func(c *cli.Context) { run(c, addRepo) },
|
|
|
|
|
Name: "add",
|
|
|
|
|
Usage: "Add a chart repository to the remote manager.",
|
|
|
|
|
Description: addRepoDesc,
|
|
|
|
|
ArgsUsage: "[NAME] [REPOSITORY_URL]",
|
|
|
|
|
Action: func(c *cli.Context) { run(c, addRepo) },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
Name: "list",
|
|
|
|
|