-
Notifications
You must be signed in to change notification settings - Fork 2
/
ingress-resources.yaml
61 lines (57 loc) · 1.34 KB
/
ingress-resources.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
#@ load("@ytt:data", "data")
---
apiVersion: projectcontour.io/v1
kind: TLSCertificateDelegation
metadata:
name: contour-delegation
namespace: #@ data.values.tls.namespace
spec:
delegations:
- secretName: #@ data.values.tls.secretName
targetNamespaces:
- "*"
---
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: tap-gui
namespace: tap-gui
spec:
virtualhost:
fqdn: #@ "tap-gui.{}".format(data.values.domain)
tls:
secretName: #@ "{}/{}".format(data.values.tls.namespace,data.values.tls.secretName)
routes:
- services:
- name: server
port: 7000
---
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: app-live-view
namespace: app-live-view
spec:
virtualhost:
fqdn: #@ "app-live-view.{}".format(data.values.domain)
tls:
secretName: #@ "{}/{}".format(data.values.tls.namespace,data.values.tls.secretName)
routes:
- services:
- name: application-live-view-5112
port: 80
---
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: accelerator
namespace: accelerator-system
spec:
virtualhost:
fqdn: #@ "accelerator.{}".format(data.values.domain)
tls:
secretName: #@ "{}/{}".format(data.values.tls.namespace,data.values.tls.secretName)
routes:
- services:
- name: acc-ui-server
port: 80