-
Notifications
You must be signed in to change notification settings - Fork 164
/
Copy pathenable-cf-route-registrar.yml
63 lines (57 loc) · 1.78 KB
/
enable-cf-route-registrar.yml
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
# Alertmanager URL
- type: replace
path: /instance_groups/name=alertmanager/jobs/name=alertmanager/properties/alertmanager/web?/external_url
value: https://alertmanager.((system_domain))
# Prometheus URL
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/web?/external_url
value: https://prometheus.((system_domain))
# Grafana URL
- type: replace
path: /instance_groups/name=grafana/jobs/name=grafana/properties/grafana/server?/root_url
value: https://grafana.((system_domain))
- type: replace
path: /instance_groups/name=grafana/jobs/name=grafana/properties/grafana/prometheus?/tls_skip_verify
value: ((skip_ssl_verify))
# Route Registrar
- type: replace
path: /instance_groups/name=nginx/jobs/-
value:
name: bpm
release: bpm
- type: replace
path: /instance_groups/name=nginx/jobs/-
value:
name: route_registrar
release: routing
consumes:
nats:
from: nats
deployment: ((cf_deployment_name))
properties:
route_registrar:
routing_api:
skip_ssl_validation: ((skip_ssl_verify))
routes:
- name: alertmanager
registration_interval: 20s
port: 9093
uris:
- alertmanager.((system_domain))
- name: prometheus
registration_interval: 20s
port: 9090
uris:
- prometheus.((system_domain))
- name: grafana
port: 3000
registration_interval: 60s
uris:
- grafana.((system_domain))
- type: replace
path: /releases/-
value:
name: "routing"
version: "0.321.0"
url: "https://bosh.io/d/github.com/cloudfoundry/routing-release?v=0.321.0"
sha1: "3a0714e5df14d03f62d29ae24071e5667330f49a"