forked from cloudfoundry/bosh-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-server.yml
76 lines (69 loc) · 2 KB
/
config-server.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
- type: replace
path: /releases/-
value:
name: config-server
version: 0.0.1
url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/config-server-0.0.1-ubuntu-trusty-3421.9-20170621-054646-35724067-20170621054651.tgz?versionId=yZEwe6tPH17F9oFP4CgMg8s0fzN_VTzJ
sha1: bd991a7a43623fd056ca4041e78461fbd369b3d8
- type: replace
path: /instance_groups/name=bosh/jobs/-
value:
name: config_server
release: config-server
properties:
port: 8080
store: database
jwt:
verification_key: ((uaa_jwt_signing_key.public_key))
ca: ((config_server_root_ca))
ssl: ((config_server_ssl))
db:
user: postgres
password: ((postgres_password))
- type: replace
path: /instance_groups/name=bosh/properties/postgres/additional_databases?/-
value: config_server
# Configure Director
- type: replace
path: /instance_groups/name=bosh/properties/director/config_server?
value:
enabled: true
url: "https://((internal_ip)):8080"
ca_cert: ((config_server_ssl.ca))
uaa:
url: "https://((internal_ip)):8443"
ca_cert: ((uaa_ssl.ca))
client_id: director_config_server
client_secret: ((director_config_server_client_secret))
# Configure UAA
- type: replace
path: /instance_groups/name=bosh/jobs/name=uaa/properties/uaa/clients/director_config_server?
value:
override: true
authorized-grant-types: client_credentials
scope: ""
authorities: config_server.admin
secret: ((director_config_server_client_secret))
# Variables
- type: replace
path: /variables/-
value:
name: config_server_ssl
type: certificate
options:
ca: default_ca
common_name: ((internal_ip))
alternative_names: [((internal_ip))]
- type: replace
path: /variables/-
value:
name: config_server_root_ca
type: certificate
options:
is_ca: true
common_name: config_server_ca
- type: replace
path: /variables/-
value:
name: director_config_server_client_secret
type: password