Add the --namespace flag in Lint.Prepare [#3]
I don't know whether this is necessary; I'm just following drone-helm's lead. At worst, helm will accept the flag, so it's at least *safe* to include.
This commit is contained in:
@@ -24,6 +24,9 @@ func (l *Lint) Prepare(cfg Config) error {
|
||||
|
||||
args := make([]string, 0)
|
||||
|
||||
if cfg.Namespace != "" {
|
||||
args = append(args, "--namespace", cfg.Namespace)
|
||||
}
|
||||
if cfg.Debug {
|
||||
args = append(args, "--debug")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user