Fix: forceNamespace needs shouldRun is true (#1510)
This commit is contained in:
parent
942b9a64c0
commit
954673d742
|
|
@ -146,6 +146,8 @@ func (st *HelmState) PrepareChartify(helm helmexec.Interface, release *ReleaseSp
|
||||||
|
|
||||||
if release.ForceNamespace != "" {
|
if release.ForceNamespace != "" {
|
||||||
chartify.Opts.OverrideNamespace = release.ForceNamespace
|
chartify.Opts.OverrideNamespace = release.ForceNamespace
|
||||||
|
|
||||||
|
shouldRun = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if shouldRun {
|
if shouldRun {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue