Changeset - 00ddfc00b8a5
[Not reviewed]
0 1 0
James Polley - 6 years ago 2018-06-24 13:46:34
jp@jamezpolley.com
Add slug label in more places

This makes it clearer which deploy/service/pod belong together
1 file changed with 8 insertions and 4 deletions:
0 comments (0 inline, 0 general)
k8s/deployment_template.jsonnet
Show inline comments
...
 
@@ -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": {
0 comments (0 inline, 0 general)