Skip to content

Commit

Permalink
don't require values
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Apr 8, 2024
1 parent 802f1d4 commit d23cea8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/plural/cd.go
Expand Up @@ -39,7 +39,7 @@ func (p *Plural) cdCommands() []cli.Command {
Flags: []cli.Flag{
cli.StringFlag{Name: "url", Usage: "console url", Required: true},
cli.StringFlag{Name: "token", Usage: "deployment token", Required: true},
cli.StringFlag{Name: "values", Usage: "values file to use for the deployment agent helm chart", Required: true},
cli.StringFlag{Name: "values", Usage: "values file to use for the deployment agent helm chart", Required: false},
cli.BoolFlag{Name: "force", Usage: "ignore checking if the current cluster is correct"},
},
},
Expand Down
4 changes: 2 additions & 2 deletions cmd/plural/cd_clusters.go
Expand Up @@ -97,7 +97,7 @@ func (p *Plural) cdClusterCommands() []cli.Command {
Flags: []cli.Flag{
cli.StringFlag{Name: "name", Usage: "The name you'll give the cluster", Required: true},
cli.StringFlag{Name: "handle", Usage: "optional handle for the cluster"},
cli.StringFlag{Name: "values", Usage: "values file to use for the deployment agent helm chart", Required: true},
cli.StringFlag{Name: "values", Usage: "values file to use for the deployment agent helm chart", Required: false},
cli.StringSliceFlag{
Name: "tag",
Usage: "a cluster tag to add, useful for targeting with global services",
Expand All @@ -108,7 +108,7 @@ func (p *Plural) cdClusterCommands() []cli.Command {
Name: "reinstall",
Action: latestVersion(p.handleClusterReinstall),
Flags: []cli.Flag{
cli.StringFlag{Name: "values", Usage: "values file to use for the deployment agent helm chart", Required: true},
cli.StringFlag{Name: "values", Usage: "values file to use for the deployment agent helm chart", Required: false},
},
Usage: "reinstalls the deployment operator into a cluster",
},
Expand Down

0 comments on commit d23cea8

Please sign in to comment.