changed name to manifests as thats more accurate
This commit is contained in:
22
manifests/stage/deployment.yaml
Normal file
22
manifests/stage/deployment.yaml
Normal 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
|
||||
Reference in New Issue
Block a user