forked from cloudfoundry/cf-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
use-postgres.yml
210 lines (210 loc) · 5.98 KB
/
use-postgres.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
- type: replace
path: /releases/-
value:
name: postgres
sha1: e44bbe8f8a7cdde1cda67b202e399a239d104db6
url: https://bosh.io/d/github.com/cloudfoundry/postgres-release?v=43
version: "43"
- type: remove
path: /instance_groups/name=database/jobs/name=route_registrar
- type: remove
path: /instance_groups/name=database/jobs/name=pxc-mysql
- type: remove
path: /instance_groups/name=database/jobs/name=proxy
- type: remove
path: /instance_groups/name=database/jobs/name=galera-agent
- type: remove
path: /instance_groups/name=database/jobs/name=gra-log-purger
- type: remove
path: /instance_groups/name=database/jobs/name=cluster-health-logger
- type: remove
path: /instance_groups/name=database/jobs/name=bootstrap
- type: replace
path: /instance_groups/name=database/migrated_from?
value:
- name: postgres
- name: singleton-database
- type: replace
path: /instance_groups/name=database/jobs/-
value:
name: postgres
properties:
databases:
databases:
- citext: true
name: cloud_controller
tag: cc
- citext: true
name: uaa
tag: uaa
- citext: true
name: diego
tag: diego
- citext: true
name: routing-api
tag: routing-api
- citext: false
name: network_policy
tag: networkpolicy
- citext: false
name: network_connectivity
tag: networkconnectivity
- citext: true
name: locket
tag: locket
- citext: true
name: credhub
tag: credhub
db_scheme: postgres
port: 5524
roles:
- name: cloud_controller
password: ((cc_database_password))
tag: admin
- name: uaa
password: ((uaa_database_password))
tag: admin
- name: diego
password: ((diego_database_password))
tag: admin
- name: routing-api
password: ((routing_api_database_password))
tag: admin
- name: network_policy
password: ((network_policy_database_password))
tag: admin
- name: network_connectivity
password: ((network_connectivity_database_password))
tag: admin
- name: locket
password: ((locket_database_password))
tag: locket
- name: credhub
password: ((credhub_database_password))
tag: admin
release: postgres
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/ccdb
value:
databases:
- name: cloud_controller
tag: cc
db_scheme: postgres
port: 5524
roles:
- name: cloud_controller
password: ((cc_database_password))
tag: admin
- type: replace
path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/ccdb
value:
databases:
- name: cloud_controller
tag: cc
db_scheme: postgres
port: 5524
roles:
- name: cloud_controller
password: ((cc_database_password))
tag: admin
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/ccdb
value:
databases:
- name: cloud_controller
tag: cc
db_scheme: postgres
port: 5524
roles:
- name: cloud_controller
password: ((cc_database_password))
tag: admin
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cc_deployment_updater/properties/ccdb
value:
databases:
- name: cloud_controller
tag: cc
db_scheme: postgres
port: 5524
roles:
- name: cloud_controller
password: ((cc_database_password))
tag: admin
- type: replace
path: /instance_groups/name=uaa/jobs/name=uaa/properties/uaadb
value:
databases:
- name: uaa
tag: uaa
db_scheme: postgresql
port: 5524
roles:
- name: uaa
password: ((uaa_database_password))
tag: admin
tls: disabled
- type: replace
path: /instance_groups/name=diego-api/jobs/name=bbs/properties/diego/bbs/sql
value:
db_driver: postgres
db_host: sql-db.service.cf.internal
db_password: ((diego_database_password))
db_port: 5524
db_schema: diego
db_username: diego
- type: replace
path: /instance_groups/name=api/jobs/name=policy-server/properties/database
value:
host: sql-db.service.cf.internal
name: network_policy
password: ((network_policy_database_password))
port: 5524
type: postgres
username: network_policy
- type: replace
path: /instance_groups/name=diego-api/jobs/name=silk-controller/properties/database
value:
host: sql-db.service.cf.internal
name: network_connectivity
password: ((network_connectivity_database_password))
port: 5524
type: postgres
username: network_connectivity
- type: replace
path: /instance_groups/name=diego-api/jobs/name=locket/properties/diego/locket/sql
value:
db_driver: postgres
db_host: sql-db.service.cf.internal
db_password: ((locket_database_password))
db_port: 5524
db_schema: locket
db_username: locket
- type: replace
path: /instance_groups/name=credhub/jobs/name=credhub/properties/credhub/data_storage
value:
database: credhub
host: sql-db.service.cf.internal
password: ((credhub_database_password))
port: 5524
require_tls: false
type: postgres
username: credhub
- type: replace
path: /instance_groups/name=api/jobs/name=routing-api/properties/routing_api/sqldb/type
value: postgres
- type: replace
path: /instance_groups/name=api/jobs/name=routing-api/properties/routing_api/sqldb/port
value: 5524
- type: remove
path: /instance_groups/name=uaa/jobs/name=uaa/properties/uaa/ca_certs?
- type: remove
path: /instance_groups/name=api/jobs/name=routing-api/properties/routing_api/sqldb/ca_cert?
- type: remove
path: /variables/name=pxc_galera_ca?
- type: remove
path: /variables/name=pxc_server_ca?
- type: remove
path: /variables/name=galera_server_certificate?
- type: remove
path: /variables/name=mysql_server_certificate?