moved deployment and service into seperate files

modified .drone.yaml to accomidate
This commit is contained in:
Leopold Lamprecht 2022-09-18 00:58:01 +02:00
parent 2808a18c11
commit abfacdc053

14
kube/service.yaml Normal file
View file

@ -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