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:
Yusuke Kuoka
2020-08-29 11:45:13 +09:00
committed by GitHub
+5
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 + "/"