Add slug label in more places
This makes it clearer which deploy/service/pod belong together
This commit is contained in:
parent
0231f3ff46
commit
00ddfc00b8
1 changed files with 8 additions and 4 deletions
|
@ -13,7 +13,8 @@ function (slug, sha) {
|
|||
"kind": "Service",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app": "symposion-app"
|
||||
"app": "symposion-app",
|
||||
"slug": slug
|
||||
},
|
||||
"name": app,
|
||||
"namespace": namespace
|
||||
|
@ -27,7 +28,8 @@ function (slug, sha) {
|
|||
}
|
||||
],
|
||||
"selector": {
|
||||
"app": "symposion-app"
|
||||
"app": "symposion-app",
|
||||
"slug": slug
|
||||
},
|
||||
"sessionAffinity": "None",
|
||||
"type": "ClusterIP"
|
||||
|
@ -38,7 +40,8 @@ function (slug, sha) {
|
|||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app": "symposion-app"
|
||||
"app": "symposion-app",
|
||||
"slug": slug,
|
||||
},
|
||||
"name": app,
|
||||
"namespace": namespace
|
||||
|
@ -48,7 +51,8 @@ function (slug, sha) {
|
|||
"revisionHistoryLimit": 1,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app": "symposion-app"
|
||||
"app": "symposion-app",
|
||||
"slug": slug
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
|
|
Loading…
Reference in a new issue