-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingress.yaml
108 lines (108 loc) · 3.23 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# 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/v1
kind: Ingress
metadata:
name: <PREFIX>-<ENV>
annotations:
kubernetes.io/ingress.global-static-ip-name: <PREFIX>-<ENV>-ingress-ip
networking.gke.io/managed-certificates: <PREFIX>-<ENV>-cert-participants,<PREFIX>-<ENV>-cert-studies
spec:
rules:
- host: participants.<PREFIX>-<ENV>.<DOMAIN>
http:
paths:
-
backend:
service:
name: auth-server-np
port:
number: 50000
path: /auth-server/*
pathType: ImplementationSpecific
-
backend:
service:
name: response-datastore-np
port:
number: 50000
path: /response-datastore/*
pathType: ImplementationSpecific
-
backend:
service:
name: participant-user-datastore-np
port:
number: 50000
path: /participant-user-datastore/*
pathType: ImplementationSpecific
-
backend:
service:
name: participant-consent-datastore-np
port:
number: 50000
path: /participant-consent-datastore/*
pathType: ImplementationSpecific
-
backend:
service:
name: participant-enroll-datastore-np
port:
number: 50000
path: /participant-enroll-datastore/*
pathType: ImplementationSpecific
-
backend:
service:
name: hydra-np
port:
number: 50000
path: /oauth2/*
pathType: ImplementationSpecific
-
backend:
service:
name: participant-manager-np
port:
number: 50000
path: /participant-manager/*
pathType: ImplementationSpecific
-
backend:
service:
name: participant-manager-datastore-np
port:
number: 50000
path: /participant-manager-datastore/*
pathType: ImplementationSpecific
- host: studies.<PREFIX>-<ENV>.<DOMAIN>
http:
paths:
-
backend:
service:
name: study-datastore-np
port:
number: 50000
path: /study-datastore/*
pathType: ImplementationSpecific
-
backend:
service:
name: study-builder-np
port:
number: 50000
path: /studybuilder/*
pathType: ImplementationSpecific
-
backend:
service:
name: study-builder-np
port:
number: 50000
path: /study-resources/*
pathType: ImplementationSpecific