forked from cloudfoundry/bosh-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bosh-lite-docker.yml
103 lines (92 loc) · 2.42 KB
/
bosh-lite-docker.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
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
- type: replace
path: /releases/-
value:
name: bosh-docker-cpi
version: "0.0.5"
url: https://bosh.io/d/github.com/cppforlife/bosh-docker-cpi-release?v=0.0.5
sha1: 075bc0264d2548173da55a40127757ae962a25b1
- type: replace
path: /releases/-
value:
name: docker
version: "0.0.2"
url: https://bosh.io/d/github.com/cppforlife/docker-release?v=0.0.2
sha1: dc08a8ed5e4865fd7846c4d40649a6e9fe43a6b9
- type: replace
path: /releases/name=os-conf?
value:
name: os-conf
version: 18
url: https://bosh.io/d/github.com/cloudfoundry/os-conf-release?v=18
sha1: 78d79f08ff5001cc2a24f572837c7a9c59a0e796
- type: replace
path: /instance_groups/name=bosh/jobs/-
value:
name: docker_cpi
release: bosh-docker-cpi
properties:
docker_cpi:
host_ip: 10.254.50.4
docker:
host: tcp://127.0.0.1:4243
tls: ((docker_client_tls))
agent: # todo remove
mbus: nats://nats:((nats_password))@10.254.50.4:4222
blobstore:
provider: dav
options:
endpoint: http://10.254.50.4:25250
user: agent
password: ((blobstore_agent_password))
- type: replace
path: /instance_groups/name=bosh/jobs/-
value:
name: docker
release: docker
properties:
listen_address: 127.0.0.1 # todo should default in the release
tls: ((docker_server_tls))
- type: replace
path: /instance_groups/name=bosh/jobs/-
value:
name: disable_agent
release: os-conf
- type: replace
path: /instance_groups/name=bosh/properties/director/cpi_job?
value: docker_cpi
# Generate Docker certs
- type: replace
path: /variables/-
value:
name: docker_ca
type: certificate
options:
is_ca: true
common_name: docker_ca
- type: replace
path: /variables/-
value:
name: docker_server_tls
type: certificate
options:
ca: docker_ca
common_name: 127.0.0.1
alternative_names: [127.0.0.1]
extended_key_usage:
- server_auth
- type: replace
path: /variables/-
value:
name: docker_client_tls
type: certificate
options:
ca: docker_ca
common_name: client
extended_key_usage:
- client_auth
- type: replace
path: /variables/name=nats_server_tls/options/alternative_names?/-
value: "10.254.50.4"
- type: replace
path: /variables/name=blobstore_server_tls/options/alternative_names/-
value: "10.254.50.4"