fix: `helmfile -n ns statuses` should set ns for helm 3 (#1108)
This fixes the issue reported in Slack https://sweetops.slack.com/archives/CE5NGCB9Q/p1582088381195000
This commit is contained in:
parent
2579a876a6
commit
10f2a576c5
|
|
@ -1166,6 +1166,8 @@ func (st *HelmState) ReleaseStatuses(helm helmexec.Interface, workerLimit int) [
|
|||
return nil
|
||||
}
|
||||
|
||||
st.ApplyOverrides(&release)
|
||||
|
||||
flags := []string{}
|
||||
if helm.IsHelm3() && release.Namespace != "" {
|
||||
flags = append(flags, "--namespace", release.Namespace)
|
||||
|
|
|
|||
Loading…
Reference in New Issue