fixed namespace, image, and added secret

This commit is contained in:
Henrik Høie Corneliussen
2026-05-08 13:44:09 +00:00
parent 7499fd3f45
commit 7d3f3ced9b

View File

@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-app
namespace: production
namespace: prod
spec:
replicas: 2
selector:
@@ -13,9 +13,11 @@ spec:
labels:
app: flask-app
spec:
imagePullSecrets:
- name: gitlab-registry-secret
containers:
- name: flask-app
image: registry.gitlab.no/ikt206-g-26v-devops/group23/flask:latest
image: registry.internal.uia.no/ikt206-g-26v-devops/group23/flask:latest
imagePullPolicy: Always
ports:
- containerPort: 5000