Support deploy labels (#1231)

This commit is contained in:
Hang Yan
2020-01-05 11:35:32 +08:00
committed by GitHub
parent 05e9bf4fc8
commit 4d864a9aab
8 changed files with 95 additions and 66 deletions
@@ -7,4 +7,6 @@ services:
deploy:
mode: global
replicas: 6
labels:
com.example.description: "This label will appear on the web service"
image: redis
@@ -46,6 +46,7 @@
},
"creationTimestamp": null,
"labels": {
"com.example.description": "This label will appear on the web service",
"io.kompose.service": "foo"
},
"name": "foo"
@@ -46,6 +46,7 @@
},
"creationTimestamp": null,
"labels": {
"com.example.description": "This label will appear on the web service",
"io.kompose.service": "foo"
},
"name": "foo"