Fix kubeContext not taken into account for release uniqueness

Fixes #1440
This commit is contained in:
Yusuke Kuoka 2020-08-29 11:33:05 +09:00
parent 41cd1fe4a6
commit f2dfa7ce64
1 changed files with 5 additions and 0 deletions

View File

@ -520,6 +520,11 @@ func (o *SyncOpts) Apply(opts *SyncOpts) {
func ReleaseToID(r *ReleaseSpec) string {
var id string
kc := r.KubeContext
if kc != "" {
id += kc + "/"
}
tns := r.TillerNamespace
if tns != "" {
id += tns + "/"