forked from cloudfoundry/cf-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenable-service-discovery.yml
58 lines (58 loc) · 1.51 KB
/
enable-service-discovery.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
---
- type: replace
path: /instance_groups/name=diego-cell/jobs/name=bosh-dns-adapter?
value:
name: bosh-dns-adapter
properties:
dnshttps:
client:
tls: ((cf_app_sd_client_tls))
server:
ca: ((cf_app_sd_ca.certificate))
release: cf-networking
- type: replace
path: /instance_groups/name=scheduler/jobs/-
value:
name: service-discovery-controller
properties:
dnshttps:
client:
ca: ((cf_app_sd_ca.certificate))
server:
tls: ((cf_app_sd_server_tls))
release: cf-networking
- type: replace
path: /instance_groups/name=diego-cell/jobs/name=route_emitter/properties/internal_routes?
value:
enabled: true
- type: replace
path: /variables/-
value:
name: cf_app_sd_ca
options:
common_name: service-discovery-controller.service.cf.internal
is_ca: true
type: certificate
- type: replace
path: /variables/-
value:
name: cf_app_sd_server_tls
options:
ca: cf_app_sd_ca
common_name: service-discovery-controller.service.cf.internal
extended_key_usage:
- server_auth
type: certificate
- type: replace
path: /variables/-
value:
name: cf_app_sd_client_tls
options:
ca: cf_app_sd_ca
common_name: service-discovery-controller.service.cf.internal
extended_key_usage:
- client_auth
type: certificate
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/temporary_create_internal_domain?
value: true