Auto-generated by Trail System
This commit is contained in:
24
chart/templates/deployment.yaml
Normal file
24
chart/templates/deployment.yaml
Normal 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 }}"
|
||||
Reference in New Issue
Block a user