changed name to manifests as thats more accurate

This commit is contained in:
Henrik Høie Corneliussen
2026-05-07 16:18:32 +00:00
parent 54455f15a7
commit a1b86980cc
6 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-app
namespace: production
spec:
replicas: 2
selector:
matchLabels:
app: flask-app
template:
metadata:
labels:
app: flask-app
spec:
containers:
- name: flask-app
image: registry.gitlab.no/ikt206-g-26v-devops/group23/flask:latest
imagePullPolicy: Always
ports:
- containerPort: 5000
env:
- name: FLASK_ENV
value: production
- name: DATABASE_URL
value: postgresql://postgres:password@postgres-service:5432/appdb