From abfacdc05302150cc19366ab8ebc0ee73ba581d8 Mon Sep 17 00:00:00 2001 From: Leopold Lamprecht Date: Sun, 18 Sep 2022 00:58:01 +0200 Subject: [PATCH] moved deployment and service into seperate files modified .drone.yaml to accomidate --- kube/service.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 kube/service.yaml diff --git a/kube/service.yaml b/kube/service.yaml new file mode 100644 index 0000000..1e0c389 --- /dev/null +++ b/kube/service.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: knilch-server + name: knilch-server + namespace: knilch-web +spec: + ports: + - port: 80 + protocol: TCP + targetPort: 80 + selector: + app: knilch-server