Merge pull request #1442 from roboll/fix-duplicate-with-kubectx-per-release
Fix kubeContext not taken into account for release uniqueness
This commit is contained in:
commit
c575587e1f
|
|
@ -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 + "/"
|
||||
|
|
|
|||
Loading…
Reference in New Issue