Point web service to backend of internal network

This commit is contained in:
Robert Schäfer 2019-02-01 00:23:53 +01:00
parent c6661def31
commit 7b981c06d0
4 changed files with 3 additions and 13 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap
data:
GRAPHQL_PORT: "4000"
GRAPHQL_URI: "https://api-nitro-staging.human-connection.org"
GRAPHQL_URI: "http://nitro-backend.staging:4000"
MOCK: "false"
metadata:
name: staging-backend

View File

@ -13,8 +13,4 @@ spec:
selector:
workload.user.cattle.io/workloadselector: deployment-staging-backend
type: LoadBalancer
sessionAffinity: None
externalTrafficPolicy: Cluster
status:
loadBalancer: {}

View File

@ -6,8 +6,6 @@ metadata:
labels:
workload.user.cattle.io/workloadselector: deployment-staging-neo4j
spec:
selector:
workload.user.cattle.io/workloadselector: deployment-staging-neo4j
ports:
- name: bolt
port: 7687
@ -15,7 +13,7 @@ spec:
- name: web
port: 7474
targetPort: 7474
type: LoadBalancer
sessionAffinity: None
selector:
workload.user.cattle.io/workloadselector: deployment-staging-neo4j
type: ClusterIP

View File

@ -13,8 +13,4 @@ spec:
selector:
workload.user.cattle.io/workloadselector: deployment-staging-web
type: LoadBalancer
sessionAffinity: None
externalTrafficPolicy: Cluster
status:
loadBalancer: {}