This repository has been archived by the owner on Oct 30, 2022. It is now read-only.
forked from GoogleCloudPlatform/fda-mystudies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingress.yaml
64 lines (64 loc) · 2.14 KB
/
ingress.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright 2020 Google LLC
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: kyoto-demo
annotations:
kubernetes.io/ingress.global-static-ip-name: kyoto-demo-ingress-ip
networking.gke.io/managed-certificates: kyoto-demo-cert-participants,kyoto-demo-cert-studies
spec:
rules:
- host: participants.kyoto-demo.clipcrow.com
http:
paths:
- path: /auth-server/*
backend:
serviceName: auth-server-np
servicePort: 50000
- path: /response-datastore/*
backend:
serviceName: response-datastore-np
servicePort: 50000
- path: /participant-user-datastore/*
backend:
serviceName: participant-user-datastore-np
servicePort: 50000
- path: /participant-consent-datastore/*
backend:
serviceName: participant-consent-datastore-np
servicePort: 50000
- path: /participant-enroll-datastore/*
backend:
serviceName: participant-enroll-datastore-np
servicePort: 50000
- path: /oauth2/*
backend:
serviceName: hydra-np
servicePort: 50000
- path: /participant-manager/*
backend:
serviceName: participant-manager-np
servicePort: 50000
- path: /participant-manager-datastore/*
backend:
serviceName: participant-manager-datastore-np
servicePort: 50000
- host: studies.kyoto-demo.clipcrow.com
http:
paths:
- path: /study-datastore/*
backend:
serviceName: study-datastore-np
servicePort: 50000
- path: /studybuilder/*
backend:
serviceName: study-builder-np
servicePort: 50000
- path: /study-resources/*
backend:
serviceName: study-builder-np
servicePort: 50000