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,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-app
namespace: stage
spec:
replicas: 1
selector:
matchLabels:
app: flask-app
template:
metadata:
labels:
app: flask-app
spec:
containers:
- name: flask-app
image: registry.internal.uia.no/ikt206-g-26v-devops/group23/flask:latest
ports:
- containerPort: 5000
imagePullSecrets:
- name: gitlab-registry-secret

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: stage

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: flask-app-service
namespace: stage
spec:
selector:
app: flask-app
ports:
- protocol: TCP
port: 80
targetPort: 5000
type: ClusterIP