cuddle-rust-service-plan/templates/kustomize/base/deployment.yaml
kjuulh da1b63148e
All checks were successful
continuous-integration/drone/push Build is passing
feat: should somehow be a list
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-02-03 21:18:03 +01:00

23 lines
490 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ service }}"
spec:
selector:
matchLabels:
app: "{{ service }}"
template:
spec:
containers:
- name: "{{ service }}"
command: [{{ service }}]
args: ["serve"]
image: "deployment:latest"
ports:
- containerPort: 3000
name: external-http
- containerPort: 3001
name: internal-http
- containerPort: 3002
name: internal-grpc