feat: add kubernetes deployment with kustomize (#258)

Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>
هذا الالتزام موجود في:
Guilhem Lettron
2024-04-24 21:01:17 +02:00
ملتزم من قبل GitHub
الأصل e4bbd756f0
التزام a3a3d367ea
6 ملفات معدلة مع 164 إضافات و0 حذوفات

29
deploy/deployment.yaml Normal file
عرض الملف

@@ -0,0 +1,29 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: opengist
spec:
selector:
matchLabels:
app.kubernetes.io/name: opengist
template:
metadata:
labels:
app.kubernetes.io/name: opengist
spec:
containers:
- name: opengist
image: ghcr.io/thomiceli/opengist
ports:
- name: http
containerPort: 6157
- name: ssh
containerPort: 2222
volumeMounts:
- mountPath: /opengist
name: data
volumes:
- name: data
persistentVolumeClaim:
claimName: opengist-data