Remove duplicate of configmap (#1206)

* also change the name of the generated cm
This commit is contained in:
Hang Yan
2019-12-26 08:53:41 +08:00
committed by GitHub
parent 4cbe106351
commit 73ec0abab2
7 changed files with 231 additions and 29 deletions
+1
View File
@@ -427,6 +427,7 @@ func (o *OpenShift) Transform(komposeObject kobject.KomposeObject, opt kobject.C
// sort all object so Services are first
o.SortServicesFirst(&allobjects)
o.RemoveDupObjects(&allobjects)
return allobjects, nil
}