Auto-generated by Trail System

This commit is contained in:
Ivan087
2025-11-28 11:04:20 +08:00
commit c4580fc437
6 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: todo-app
spec:
replicas: 1
selector:
matchLabels:
app: todo-app
template:
metadata:
labels:
app: todo-app
spec:
containers:
- name: todo-app
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
ports:
- containerPort: 5000
env:
- name: FLASK_APP
value: "app.py"
- name: FLASK_DEBUG
value: "false"