forked from cloudfoundry/cf-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenable-service-discovery.yml
74 lines (74 loc) · 1.9 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
- 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-app-sd
- type: replace
path: /instance_groups/name=service-discovery?
value:
azs:
- z1
- z2
instances: 2
jobs:
- name: service-discovery-controller
properties:
dnshttps:
client:
ca: ((cf_app_sd_ca.certificate))
server:
tls: ((cf_app_sd_server_tls))
release: cf-app-sd
name: service-discovery
networks:
- name: default
stemcell: default
vm_type: minimal
- 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: /releases/name=cf-app-sd?
value:
name: cf-app-sd
sha1: c94fe2063ffbd07668dad87a5761aad802813368
url: https://bosh.io/d/github.com/cloudfoundry/cf-app-sd-release?v=0.5.0
version: 0.5.0
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/temporary_create_internal_domain?
value: true