Fix kubeContext not taken into account for release uniqueness
Fixes #1440
This commit is contained in:
parent
41cd1fe4a6
commit
f2dfa7ce64
|
|
@ -520,6 +520,11 @@ func (o *SyncOpts) Apply(opts *SyncOpts) {
|
||||||
func ReleaseToID(r *ReleaseSpec) string {
|
func ReleaseToID(r *ReleaseSpec) string {
|
||||||
var id string
|
var id string
|
||||||
|
|
||||||
|
kc := r.KubeContext
|
||||||
|
if kc != "" {
|
||||||
|
id += kc + "/"
|
||||||
|
}
|
||||||
|
|
||||||
tns := r.TillerNamespace
|
tns := r.TillerNamespace
|
||||||
if tns != "" {
|
if tns != "" {
|
||||||
id += tns + "/"
|
id += tns + "/"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue