Skip to content
Snippets Groups Projects
Commit c09c9523 authored by Mikaël Barbero's avatar Mikaël Barbero :dagger: Committed by Mikaël Barbero
Browse files

Fix k8s deployment files


Signed-off-by: default avatarMikaël Barbero <mikael.barbero@eclipse-foundation.org>
parent a15e463b
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: marketplace-rest-api
namespace: webapps
namespace: foundation-internal-webdev-apps
spec:
selector:
matchLabels:
app: marketplace-rest-api
environment: production
replicas: 2
template:
metadata:
......@@ -32,7 +33,7 @@ apiVersion: "v1"
kind: "Service"
metadata:
name: marketplace-rest-api
namespace: webapps
namespace: foundation-internal-webdev-apps
spec:
ports:
- name: "http"
......@@ -47,7 +48,7 @@ apiVersion: "route.openshift.io/v1"
kind: "Route"
metadata:
name: marketplace-rest-api
namespace: webapps
namespace: foundation-internal-webdev-apps
annotations:
haproxy.router.openshift.io/timeout: 20s
spec:
......
apiVersion: apps/v1
kind: Deployment
metadata:
name: marketplace-rest-api
namespace: webapps
name: staging-marketplace-rest-api
namespace: foundation-internal-webdev-apps
spec:
selector:
matchLabels:
app: marketplace-rest-api
environment: staging
replicas: 2
template:
metadata:
......@@ -31,8 +32,8 @@ spec:
apiVersion: "v1"
kind: "Service"
metadata:
name: marketplace-rest-api
namespace: webapps
name: staging-marketplace-rest-api
namespace: foundation-internal-webdev-apps
spec:
ports:
- name: "http"
......@@ -46,8 +47,8 @@ spec:
apiVersion: "route.openshift.io/v1"
kind: "Route"
metadata:
name: marketplace-rest-api
namespace: webapps
name: staging-marketplace-rest-api
namespace: foundation-internal-webdev-apps
annotations:
haproxy.router.openshift.io/timeout: 20s
spec:
......@@ -60,5 +61,5 @@ spec:
termination: "edge"
to:
kind: "Service"
name: marketplace-rest-api
name: staging-marketplace-rest-api
weight: 100
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment