Auto-generated by Trail System

This commit is contained in:
Ivan087
2025-11-28 11:07:38 +08:00
commit e507646aa8
7 changed files with 82 additions and 0 deletions

View File

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