fixed namespace, image, and added secret
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user