Skip to content

Commit

Permalink
Final clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok committed Sep 13, 2021
1 parent aa17c84 commit 4ba06ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cli/cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func NewUpgrade() *cobra.Command {

flags := cmd.Flags()
flags.StringVar(&opts.Parameters.Version, "version", capact.LatestVersionTag, "Capact version.")
flags.StringVar(&opts.Parameters.Override.HelmRepo, "helm-repo", capact.HelmRepoStable, fmt.Sprintf("Capact Helm chart repository location. It can be relative path to current working directory or URL. Use %s tag to select repository which holds the latest Helm chart versions.", capact.LatestVersionTag))
flags.StringVar(&opts.Parameters.Override.HelmRepo, "helm-repo", capact.HelmRepoStable, fmt.Sprintf("Capact Helm chart repository URL. Use %s tag to select repository which holds the latest Helm chart versions.", capact.LatestVersionTag))
flags.StringVar(&opts.Parameters.Override.CapactValues.Global.ContainerRegistry.Tag, "override-capact-image-tag", "", "Allows you to override Docker image tag for Capact components. By default, Docker image tag from Helm chart is used.")
flags.StringVar(&opts.Parameters.Override.CapactValues.Global.ContainerRegistry.Path, "override-capact-image-repo", "", "Allows you to override Docker image repository for Capact components. By default, Docker image repository from Helm chart is used.")
flags.BoolVar(&opts.Parameters.IncreaseResourceLimits, "increase-resource-limits", true, "Enables higher resource requests and limits for components.")
Expand Down
2 changes: 1 addition & 1 deletion cmd/populator/cmd/register/ocf_manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewOCFManifests(cliName string) *cobra.Command {
Example: heredoc.WithCLIName(`
APP_JSON_PUBLISH_ADDR=http://{HOST_IP} <cli> .
`, cliName),
Args: cli.ExactArgs(1),
Args: cli.RequiresMaxArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
return runDBPopulate(cmd.Context(), args[0])
},
Expand Down

0 comments on commit 4ba06ad

Please sign in to comment.