some of created objects were missing io.kompose.service label

label added to BuildConfig, DaemonSet, ReplicationController, Deployment and Pod
This commit is contained in:
Tomas Kral
2017-05-16 17:56:32 +02:00
parent 7e785bb31f
commit 792976da1f
29 changed files with 278 additions and 71 deletions
+3 -1
View File
@@ -216,8 +216,10 @@ func initBuildConfig(name string, service kobject.ServiceConfig, repo string, br
Kind: "BuildConfig",
APIVersion: "v1",
},
ObjectMeta: kapi.ObjectMeta{
Name: name,
Name: name,
Labels: transformer.ConfigLabels(name),
},
Spec: buildapi.BuildConfigSpec{
Triggers: []buildapi.BuildTriggerPolicy{