From 13c8196fa4374b58e79b62cd1aed358bad0be597 Mon Sep 17 00:00:00 2001 From: "nsingh@pivotal.io" Date: Wed, 19 Jun 2019 09:51:54 -0700 Subject: [PATCH] More theia-spring-boot K8s changes --- theia-extensions/k8s-app/deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/theia-extensions/k8s-app/deploy.yml b/theia-extensions/k8s-app/deploy.yml index d0f2b3c8a..13efc2a85 100644 --- a/theia-extensions/k8s-app/deploy.yml +++ b/theia-extensions/k8s-app/deploy.yml @@ -15,16 +15,18 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: + labels: + app: theia-spring-boot name: theia-spring-boot spec: replicas: 1 selector: matchLabels: - name: theia-spring-boot + app: theia-spring-boot template: metadata: labels: - name: theia-spring-boot + app: theia-spring-boot spec: containers: - name: theia-spring-boot @@ -34,7 +36,7 @@ spec: - containerPort: 3000 volumeMounts: - name: source - mountPath: /tmp/git + mountPath: /home/project - name: git-sync image: k8s.gcr.io/git-sync:v3.0.1 volumeMounts: