Initial add

This commit is contained in:
2026-05-19 18:14:39 -04:00
commit 86e6adfe2e
12 changed files with 526 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "timeclock.fullname" . }}
namespace: {{ .Values.namespace }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ include "timeclock.name" . }}
template:
metadata:
labels:
app: {{ include "timeclock.name" . }}
spec:
containers:
- name: flask-app
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 5000
volumeMounts:
- name: sqlite-data
mountPath: {{ .Values.app.dbPath }}
volumes:
- name: sqlite-data
persistentVolumeClaim:
claimName: {{ include "timeclock.fullname" . }}-pvc