forked from cloudfoundry/cf-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
use-postgres.yml
174 lines (174 loc) · 4.96 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
- type: replace
path: /releases/-
value:
name: postgres
sha1: c1fcec62cb9d2e95e3b191e3c91d238e2b9d23fa
url: https://bosh.io/d/github.com/cloudfoundry/postgres-release?v=28
version: "28"
- type: remove
path: /instance_groups/name=database/jobs/name=mysql
- type: remove
path: /instance_groups/name=database/jobs/name=proxy
- 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
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
release: postgres
- type: replace
path: /instance_groups/name=database/jobs/name=consul_agent/properties?/consul/agent/services?
value:
sql_db:
check: {}
- 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=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
- 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/cf_networking/policy_server/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/cf_networking/silk_controller/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=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: /releases/name=cf-mysql?
- type: remove
path: /variables/name=cf_mysql_mysql_admin_password?
- type: remove
path: /variables/name=cf_mysql_mysql_cluster_health_password?
- type: remove
path: /variables/name=cf_mysql_mysql_galera_healthcheck_endpoint_password?
- type: remove
path: /variables/name=cf_mysql_mysql_galera_healthcheck_password?