Skip to content

Commit

Permalink
[push/chart] fix environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Dec 19, 2018
1 parent 5bdd1ca commit ad6b52c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/orca/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ func NewPushChartCmd(out io.Writer) *cobra.Command {

f := cmd.Flags()

f.StringVar(&c.path, "path", os.Getenv("HELM_PATH"), "path to chart. Overrides $ORCA_PATH")
f.StringVar(&c.append, "append", os.Getenv("HELM_APPEND"), "string to append to version. Overrides $ORCA_APPEND")
f.StringVar(&c.repo, "repo", os.Getenv("HELM_REPO"), "chart repository (name=url). Overrides $ORCA_REPO")
f.StringVar(&c.path, "path", os.Getenv("ORCA_PATH"), "path to chart. Overrides $ORCA_PATH")
f.StringVar(&c.append, "append", os.Getenv("ORCA_APPEND"), "string to append to version. Overrides $ORCA_APPEND")
f.StringVar(&c.repo, "repo", os.Getenv("ORCA_REPO"), "chart repository (name=url). Overrides $ORCA_REPO")
f.BoolVar(&c.lint, "lint", utils.GetBoolEnvVar("ORCA_LINT", false), "should perform lint before push. Overrides $ORCA_LINT")

return cmd
Expand Down

0 comments on commit ad6b52c

Please sign in to comment.