Append KubeContext to temporary directory path (#1471)
Fix bug where KubeContext is not taken into account in temporary directories
This commit is contained in:
parent
2d7c8e7525
commit
87d04f0202
|
|
@ -972,6 +972,10 @@ func (st *HelmState) PrepareCharts(helm helmexec.Interface, dir string, concurre
|
|||
pathElems = append(pathElems, release.Namespace)
|
||||
}
|
||||
|
||||
if release.KubeContext != "" {
|
||||
pathElems = append(pathElems, release.KubeContext)
|
||||
}
|
||||
|
||||
chartVersion := "latest"
|
||||
if release.Version != "" {
|
||||
chartVersion = release.Version
|
||||
|
|
|
|||
Loading…
Reference in New Issue