🧑‍💻(tilt) add dimail

This adds dimail to the tilt kube deployment
This commit is contained in:
Quentin BEY
2024-12-09 16:21:14 +01:00
parent 80976e3761
commit 010d3674de
10 changed files with 116 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dimail
labels:
app: dimail
spec:
replicas: 1
selector:
matchLabels:
app: dimail
template:
metadata:
labels:
app: dimail
spec:
containers:
- name: dimail
command: ["/bin/sh", "-c", "/opt/dimail-api/start-dev.sh"]
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
ports:
- containerPort: 8000
env:
- name: DIMAIL_MODE
value: FAKE
- name: DIMAIL_JWT_SECRET
value: fake_jwt_secret