feat: add --output-dir on template command (#693)

It generates templates in a subdirectory named "stateFileName-stateFileHash-releaseName"
This commit is contained in:
OlivierB
2019-07-11 09:07:46 +09:00
committed by KUOKA Yusuke
parent 63b5040ec4
commit 2f9f52033c
11 changed files with 252 additions and 16 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ func (r *Run) Template(c TemplateConfigProvider) []error {
}
args := argparser.GetArgs(c.Args(), state)
return state.TemplateReleases(helm, c.Values(), args, c.Concurrency())
return state.TemplateReleases(helm, c.OutputDir(), c.Values(), args, c.Concurrency())
}
func (r *Run) Test(c TestConfigProvider) []error {