feat: add templates

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-02-03 19:13:55 +01:00
parent 94244cf937
commit a4092639d1
4 changed files with 81 additions and 0 deletions

20
templates/deployment.yaml Normal file
View File

@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ service }}"
spec:
selector:
matchLabels:
app: "{{ service }}"
template:
spec:
containers:
- name: "{{ service }}"
image: "deployment:latest"
ports:
- containerPort: 3000
name: external_http
- containerPort: 3001
name: internal_http
- containerPort: 3002
name: internal_grpc