From ecdf56b8f3cf2c60abb57eecc95032b2467b77dc Mon Sep 17 00:00:00 2001
From: Nico P <nickpoegel@aol.com>
Date: Tue, 28 Mar 2023 16:35:15 +0200
Subject: [PATCH] added deployment and service configurations for
 myaktion-frontend

---
 .../myaktion-frontend-deployment.yaml         | 22 +++++++++++++++++++
 .../service/myaktion-frontend-service.yaml    | 13 +++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 helm-msa/templates/deployment/myaktion-frontend-deployment.yaml
 create mode 100644 helm-msa/templates/service/myaktion-frontend-service.yaml

diff --git a/helm-msa/templates/deployment/myaktion-frontend-deployment.yaml b/helm-msa/templates/deployment/myaktion-frontend-deployment.yaml
new file mode 100644
index 0000000..a300ba9
--- /dev/null
+++ b/helm-msa/templates/deployment/myaktion-frontend-deployment.yaml
@@ -0,0 +1,22 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: myaktion-frontend-deployment
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: myaktion-frontend
+  template:
+    metadata:
+      annotations:
+        linkerd.io/inject: enabled
+      labels:
+        app: myaktion-frontend
+    spec:
+      containers:
+      - name: myaktion-frontend
+        image: ginyanote/myaktion-frontend:0.1.0
+        imagePullPolicy: IfNotPresent
+        ports:
+        - containerPort: 8080
\ No newline at end of file
diff --git a/helm-msa/templates/service/myaktion-frontend-service.yaml b/helm-msa/templates/service/myaktion-frontend-service.yaml
new file mode 100644
index 0000000..0334424
--- /dev/null
+++ b/helm-msa/templates/service/myaktion-frontend-service.yaml
@@ -0,0 +1,13 @@
+apiVersion: v1
+kind: Service
+metadata:
+  name: myaktion-frontend-service
+spec:
+  selector:
+    app: myaktion-frontend
+  ports:
+    - protocol: TCP
+      port: 8080
+      targetPort: 8080
+      nodePort: 30001
+  type: NodePort
\ No newline at end of file
-- 
GitLab