From 606d92fb7e940a5a794220386fc538b7650dfdf4 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 13:46:36 +0530 Subject: [PATCH 01/30] Update Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 0966445..3dd391a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,3 +5,4 @@ RUN mvn clean install FROM adhig93/tomcat-conf COPY --from=build /javaapp/target/*.war /usr/local/tomcat/webapps/ +EXPOSE 8080 From bee4d3f0855e50ce7bc1cc2ce5fa412d79b259ba Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 14:17:33 +0530 Subject: [PATCH 02/30] Create deploy.yaml --- deploy.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 deploy.yaml diff --git a/deploy.yaml b/deploy.yaml new file mode 100644 index 0000000..74737e2 --- /dev/null +++ b/deploy.yaml @@ -0,0 +1,34 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: multistage +spec: + selector: + matchLabels: + app: multistage + template: + metadata: + labels: + app: multistage + spec: + containers: + - name: multistage + image: public.ecr.aws/g5i1d7r1/navya114:latest + ports: + - containerPort: 8080 + imagePullSecrets: + - name: regcred + +--- + +apiVersion: v1 +kind: Service +metadata: + name: multistage +spec: + type: NodePort + selector: + app: multistage + ports: + - port: 8080 + targetPort: 8080 From 6ffe6639dc250b476eb84446bb9dc74ab1949ee2 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 15:41:30 +0530 Subject: [PATCH 03/30] Update deploy.yaml --- deploy.yaml | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 74737e2..f2425c7 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,7 +16,14 @@ spec: image: public.ecr.aws/g5i1d7r1/navya114:latest ports: - containerPort: 8080 - imagePullSecrets: + volumeMount: + - name: volume-pv + mountPath: /usr/local/tomcat/ + volumes: + - name: volume-pv + persistentVolumeClaim: + claimName: multistage-pv-pvc + imagePullSecrets: - name: regcred --- @@ -32,3 +39,32 @@ spec: ports: - port: 8080 targetPort: 8080 + +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: multistage-pv +spec: + capacity: + storage: 1Gi + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + storageClassName: static + hostPath: + path: /data/multistage + + +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: multistage-pv-pvc +spec: + accessModes: + - ReadWriteOnce + storageClassName: static + resources: + requests: + storage: 1Gi From 4fb4382c7c1e8299b4720cee8f5f9f006323b25a Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 15:45:46 +0530 Subject: [PATCH 04/30] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd0fd7b..c3564df 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Simple Java Project -This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works). +This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works) From 396d04acbaec675a91ad000afff237371890a489 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 15:50:21 +0530 Subject: [PATCH 05/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index f2425c7..c46e3cf 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,7 +16,7 @@ spec: image: public.ecr.aws/g5i1d7r1/navya114:latest ports: - containerPort: 8080 - volumeMount: + volumeMounts: - name: volume-pv mountPath: /usr/local/tomcat/ volumes: From b3d90c1a798dae1725298883c194dfb283dcc121 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 15:58:12 +0530 Subject: [PATCH 06/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index c46e3cf..b0af5b4 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -18,7 +18,7 @@ spec: - containerPort: 8080 volumeMounts: - name: volume-pv - mountPath: /usr/local/tomcat/ + mountPath: /usr/local/tomcat volumes: - name: volume-pv persistentVolumeClaim: From 4999caf3406b3c202bd785686fc60f780772808c Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 16:08:12 +0530 Subject: [PATCH 07/30] Update deploy.yaml --- deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index b0af5b4..aee731f 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,13 +16,13 @@ spec: image: public.ecr.aws/g5i1d7r1/navya114:latest ports: - containerPort: 8080 - volumeMounts: - - name: volume-pv - mountPath: /usr/local/tomcat - volumes: - - name: volume-pv - persistentVolumeClaim: - claimName: multistage-pv-pvc + # volumeMounts: + # - name: volume-pv + # mountPath: /usr/local/tomcat + # volumes: + # - name: volume-pv + # persistentVolumeClaim: + # claimName: multistage-pv-pvc imagePullSecrets: - name: regcred From 60bf3ff3fc30bb1a2c13966c3fc46fb357470dcc Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 17:21:00 +0530 Subject: [PATCH 08/30] Update WorksWithHerokuServlet.java --- src/main/java/works/buddy/samples/WorksWithHerokuServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java index f8b0ee3..a09a6f9 100644 --- a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java +++ b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java @@ -13,7 +13,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t response.setContentType("text/plain"); response.setStatus(404); PrintWriter writer = response.getWriter(); - writer.print("WEB APP WORKING"); + writer.print("WEB APPLICATION WORKING"); writer.close(); } } From 42c21179dbd73f463456c4393920279e6cf67bed Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 17:22:38 +0530 Subject: [PATCH 09/30] Update WorksWithHerokuServlet.java --- src/main/java/works/buddy/samples/WorksWithHerokuServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java index a09a6f9..f8b0ee3 100644 --- a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java +++ b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java @@ -13,7 +13,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t response.setContentType("text/plain"); response.setStatus(404); PrintWriter writer = response.getWriter(); - writer.print("WEB APPLICATION WORKING"); + writer.print("WEB APP WORKING"); writer.close(); } } From b12281173f1ba90f18f350ff6758a36abeba8611 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 17:24:05 +0530 Subject: [PATCH 10/30] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c3564df..fd0fd7b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Simple Java Project -This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works) +This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works). From 9e2e698bc042f8c9f11c57145b7f233be1b59ef2 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Mon, 5 Jun 2023 18:39:14 +0530 Subject: [PATCH 11/30] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd0fd7b..c3564df 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Simple Java Project -This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works). +This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works) From 4d825a91e85357bf9a0f72ec0451f0cb0c4ade9b Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:04:31 +0530 Subject: [PATCH 12/30] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c3564df..fd0fd7b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Simple Java Project -This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works) +This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works). From 71c821ee952b1a22285c2c198e16d456c29458b3 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:05:13 +0530 Subject: [PATCH 13/30] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd0fd7b..c3564df 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Simple Java Project -This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works). +This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works) From 64cd3e201de0d99e1ed8d0541f621f6a0f65f83d Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:09:54 +0530 Subject: [PATCH 14/30] Update WorksWithHerokuServlet.java --- src/main/java/works/buddy/samples/WorksWithHerokuServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java index f8b0ee3..a09a6f9 100644 --- a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java +++ b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java @@ -13,7 +13,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t response.setContentType("text/plain"); response.setStatus(404); PrintWriter writer = response.getWriter(); - writer.print("WEB APP WORKING"); + writer.print("WEB APPLICATION WORKING"); writer.close(); } } From f2eef6a118b05c1a7b63a81b5d483e589e7284d4 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:11:40 +0530 Subject: [PATCH 15/30] Update WorksWithHerokuServlet.java --- src/main/java/works/buddy/samples/WorksWithHerokuServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java index a09a6f9..f8b0ee3 100644 --- a/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java +++ b/src/main/java/works/buddy/samples/WorksWithHerokuServlet.java @@ -13,7 +13,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t response.setContentType("text/plain"); response.setStatus(404); PrintWriter writer = response.getWriter(); - writer.print("WEB APPLICATION WORKING"); + writer.print("WEB APP WORKING"); writer.close(); } } From 0e2a86dc20a830d32986d1be02bd040c7687e597 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:15:13 +0530 Subject: [PATCH 16/30] Update deploy.yaml --- deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index aee731f..b37f605 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,13 +16,13 @@ spec: image: public.ecr.aws/g5i1d7r1/navya114:latest ports: - containerPort: 8080 - # volumeMounts: - # - name: volume-pv - # mountPath: /usr/local/tomcat - # volumes: - # - name: volume-pv - # persistentVolumeClaim: - # claimName: multistage-pv-pvc + volumeMounts: + - name: volume-pv + mountPath: /usr/local/tomcat/webapps + volumes: + - name: volume-pv + persistentVolumeClaim: + claimName: multistage-pv-pvc imagePullSecrets: - name: regcred From eaa091161b4efabf2feca203e92d1d3ccf6e639e Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:21:44 +0530 Subject: [PATCH 17/30] Update deploy.yaml --- deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index b37f605..450ccdb 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,13 +16,13 @@ spec: image: public.ecr.aws/g5i1d7r1/navya114:latest ports: - containerPort: 8080 - volumeMounts: - - name: volume-pv - mountPath: /usr/local/tomcat/webapps - volumes: - - name: volume-pv - persistentVolumeClaim: - claimName: multistage-pv-pvc +# volumeMounts: +# - name: volume-pv +# mountPath: /usr/local/tomcat/webapps +# volumes: +# - name: volume-pv +# persistentVolumeClaim: +# claimName: multistage-pv-pvc imagePullSecrets: - name: regcred From 01f3cb4d0f34e0401d429cca4c408feb23bbf2d3 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:46:12 +0530 Subject: [PATCH 18/30] Update deploy.yaml --- deploy.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index 450ccdb..609e00c 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,13 +16,13 @@ spec: image: public.ecr.aws/g5i1d7r1/navya114:latest ports: - containerPort: 8080 -# volumeMounts: -# - name: volume-pv -# mountPath: /usr/local/tomcat/webapps -# volumes: -# - name: volume-pv -# persistentVolumeClaim: -# claimName: multistage-pv-pvc + volumeMounts: + - name: volume-pv + mountPath: /usr/local/tomcat/webapps + volumes: + - name: volume-pv + persistentVolumeClaim: + claimName: multistage-pvc imagePullSecrets: - name: regcred @@ -53,14 +53,14 @@ spec: persistentVolumeReclaimPolicy: Retain storageClassName: static hostPath: - path: /data/multistage + path: /opt/multistage --- apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: multistage-pv-pvc + name: multistage-pvc spec: accessModes: - ReadWriteOnce From ecd489d4461f330049cb535e563ada3e956d5c0a Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:49:15 +0530 Subject: [PATCH 19/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 609e00c..9b48d5c 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -18,7 +18,7 @@ spec: - containerPort: 8080 volumeMounts: - name: volume-pv - mountPath: /usr/local/tomcat/webapps + mountPath: /usr/local/tomcat/webapps volumes: - name: volume-pv persistentVolumeClaim: From fd3af4d317acf4f939540988f2c81f2b0fdfbef4 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:54:06 +0530 Subject: [PATCH 20/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 9b48d5c..b3a13d5 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -18,7 +18,7 @@ spec: - containerPort: 8080 volumeMounts: - name: volume-pv - mountPath: /usr/local/tomcat/webapps + mountPath: /usr/local/tomcat/webapps/ volumes: - name: volume-pv persistentVolumeClaim: From cd92742a2288231d356eefe4b14fa533bedb22b2 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:04:40 +0530 Subject: [PATCH 21/30] Update deploy.yaml --- deploy.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index b3a13d5..f0751f9 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -55,7 +55,6 @@ spec: hostPath: path: /opt/multistage - --- apiVersion: v1 kind: PersistentVolumeClaim From 9df9192cce3ecd468afc38ad4cbbf9c477700d6d Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:14:32 +0530 Subject: [PATCH 22/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index f0751f9..a02d017 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -18,7 +18,7 @@ spec: - containerPort: 8080 volumeMounts: - name: volume-pv - mountPath: /usr/local/tomcat/webapps/ + mountPath: /usr/local/tomcat volumes: - name: volume-pv persistentVolumeClaim: From b5ac6b7eb8ca856890e3d71303098322e4f1a0e3 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:16:40 +0530 Subject: [PATCH 23/30] Create pv.yaml --- pv.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pv.yaml diff --git a/pv.yaml b/pv.yaml new file mode 100644 index 0000000..35ceab4 --- /dev/null +++ b/pv.yaml @@ -0,0 +1,26 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: multistage-pv +spec: + capacity: + storage: 1Gi + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + storageClassName: static + hostPath: + path: /opt/multistage + +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: multistage-pvc +spec: + accessModes: + - ReadWriteOnce + storageClassName: static + resources: + requests: + storage: 1Gi From 0931c41617feb8a0b5241ffd7cd443f4fb0e0def Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:17:24 +0530 Subject: [PATCH 24/30] Update deploy.yaml --- deploy.yaml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index a02d017..11b579a 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -40,30 +40,3 @@ spec: - port: 8080 targetPort: 8080 ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: multistage-pv -spec: - capacity: - storage: 1Gi - accessModes: - - ReadWriteOnce - persistentVolumeReclaimPolicy: Retain - storageClassName: static - hostPath: - path: /opt/multistage - ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: multistage-pvc -spec: - accessModes: - - ReadWriteOnce - storageClassName: static - resources: - requests: - storage: 1Gi From fb2a5a005cba85f5a37f79025b35127cc46898a5 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:21:49 +0530 Subject: [PATCH 25/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 11b579a..c1bf140 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -18,7 +18,7 @@ spec: - containerPort: 8080 volumeMounts: - name: volume-pv - mountPath: /usr/local/tomcat + mountPath: /usr/local/tomcat/webapps volumes: - name: volume-pv persistentVolumeClaim: From c0106c2284d25ec86a1efd371a9931c42b016a9d Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:26:57 +0530 Subject: [PATCH 26/30] Update deploy.yaml --- deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index c1bf140..1f1e670 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -16,13 +16,13 @@ spec: image: public.ecr.aws/g5i1d7r1/navya114:latest ports: - containerPort: 8080 - volumeMounts: - - name: volume-pv - mountPath: /usr/local/tomcat/webapps - volumes: - - name: volume-pv - persistentVolumeClaim: - claimName: multistage-pvc +# volumeMounts: +# - name: volume-pv +# mountPath: /usr/local/tomcat/webapps +# volumes: +# - name: volume-pv +# persistentVolumeClaim: +# claimName: multistage-pvc imagePullSecrets: - name: regcred From c8bbd111690bfcc6c6a3770dc5395518794038d2 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 13 Jun 2023 14:33:18 +0530 Subject: [PATCH 27/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 1f1e670..3dca86e 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: multistage - image: public.ecr.aws/g5i1d7r1/navya114:latest + image: public.ecr.aws/g5i1d7r1/navya114:1.0.45 ports: - containerPort: 8080 # volumeMounts: From 7c028c30ed0120814a9e6b0ea23263f0e4f7c6ad Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 13 Jun 2023 14:45:48 +0530 Subject: [PATCH 28/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 3dca86e..2c21bae 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: multistage - image: public.ecr.aws/g5i1d7r1/navya114:1.0.45 + image: public.ecr.aws/g5i1d7r1/navya114:1.0.46 ports: - containerPort: 8080 # volumeMounts: From e465019ec1fe5d56326053aa7f229ad06fed97e3 Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 13 Jun 2023 14:54:50 +0530 Subject: [PATCH 29/30] Update deploy.yaml --- deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.yaml b/deploy.yaml index 2c21bae..e8bc8d9 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: multistage - image: public.ecr.aws/g5i1d7r1/navya114:1.0.46 + image: public.ecr.aws/g5i1d7r1/navya114:1.0.$BUILD_NUMBER' ports: - containerPort: 8080 # volumeMounts: From 176b01e10f449f4586d44a6752011107213100ec Mon Sep 17 00:00:00 2001 From: Navya114 <124689423+Navya114@users.noreply.github.com> Date: Tue, 13 Jun 2023 15:00:27 +0530 Subject: [PATCH 30/30] Update deploy.yaml --- deploy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.yaml b/deploy.yaml index e8bc8d9..f1dfad4 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: multistage + namespace: dev spec: selector: matchLabels: @@ -32,6 +33,7 @@ apiVersion: v1 kind: Service metadata: name: multistage + namespace: dev spec: type: NodePort selector: