forked from cloud-gov/deploy-cf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cf-secrets-example.main.yml
284 lines (274 loc) · 6.89 KB
/
cf-secrets-example.main.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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
# The following line helps maintain current documentation at http://docs.cloudfoundry.org.
# code_snippet cf-stub-aws start
---
director_uuid: DIRECTOR_ID
meta:
environment: DEPLOYMENT_NAME
releases:
- name: cf
version: latest
resource_key: (( meta.environment ))
app_domains:
- APP_DOMAIN
service_domain: mypaas.com
zones:
z1: us-gov-west-1a
z2: us-gov-west-1b
elbs:
- cfrouter
default_env:
# Default vcap & root password on deployed VMs (ie c1oudc0w)
bosh:
password: xxx
aws:
key_name: ~
networks:
- name: cf1
subnets:
- cloud_properties:
subnet: SUBNET1_ID
security_groups:
- SECURITY_GROUP
static:
- 10.0.10.65 - 10.0.10.100
range: 10.0.10.100/26
gateway: 10.0.10.1
reserved:
- RESERVED_IP
dns:
- DNS_IP
- name: cf2
subnets:
- cloud_properties:
subnet: SUBNET2_ID
security_groups:
- SECURITY_GROUP
static:
- 10.0.11.65 - 10.0.11.100
range: 10.0.11.100/26
gateway: 10.0.10.1
reserved:
- RESERVED_IP
dns:
- DNS_IP
properties:
app_ssh:
host_key_fingerprint: DIEGO-SSH-FINGERPRINT
oauth_client_id: ssh-proxy
ssl:
skip_cert_verify: false
consul:
encrypt_keys:
- RANDOM-SECRET-KEY
ca_cert: |
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
agent_cert: |
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
agent_key: |
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
server_cert: |
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
server_key: |
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
cc:
mutual_tls:
ca_cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
public_cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
private_key: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
min_cli_version: 6.22.2
default_to_diego_backend: true
users_can_select_backend: false
diego:
staging: optional
running: disabled
droplets:
droplet_directory_key: DROPLET_DIR_KEY
buildpacks:
buildpack_directory_key: BUILDPACK_DIR_KEY
staging_upload_user: STAGING_UPLOADER
staging_upload_password: STAGING_UPLOAD_PASSWORD
bulk_api_password: BULK_API_PASSWORD
<<: ( merge )
domain: DOMAIN
nats:
user: NATS_USER
password: NATS_PASSWORD
router:
route_services_secret: ROUTE_SERVICES_SECRET
status:
user: ROUTER_USER
password: ROUTER_PASSWORD
template_only:
aws:
availability_zone: us-gov-west-1a
availability_zone2: us-gov-west-1b
region: us-gov-west-1
uaa:
ca_cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
sslCertificate: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
sslPrivateKey: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
admin:
client_secret:
cc:
client_secret:
clients:
cc_routing:
secret:
cloud_controller_username_lookup:
secret:
# if you change this, change logregator.uaa.client_secret as well
doppler:
secret: DOPPLER_SECRET
gorouter:
secret:
tcp_emitter:
secret: tcp_emitter_client_secret
tcp_router:
secret:
login:
secret:
notifications:
secret:
<<: (( merge ))
jwt:
signing_key: |
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
verification_key: |
-----BEGIN PUBLIC KEY-----
-----END PUBLIC KEY-----
scim:
groups:
admin_ui.user: "Admin UI users"
admin_ui.admin: "Admin UI admins"
users:
- name: admin
password: admin-password
groups:
- scim.write
- openid
- scim.read
- cloud_controller.admin
- doppler.firehose
- name: services
password: services-password
groups:
- scim.write
- openid
- scim.read
- cloud_controller.admin
- name: sys-tester
password: sys-tester-password
groups:
- scim.write
- openid
- scim.read
- cloud_controller.admin
- doppler.firehose
- name: user-tester
password: user_tester_password
groups:
- openid
- <<: (( merge ))
loggregator:
uaa:
# this is the client secret for the "doppler" client
client_secret: DOPPLER_SECRET
tls:
ca_cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
doppler:
cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
key: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
metron:
cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
key: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
trafficcontroller:
cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
key: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
statsd_injector:
cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
key: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
syslogdrainbinder:
cert: |-
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
key: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
loggregator_endpoint:
shared_secret: loggregator_shared_secret
login:
branding:
product_logo: "BASE64_ENCODED_IMAGE"
square_logo: "BASE64_ENCODED_SQUARE_IMAGE"
company_name: cloud.gov
footer_legal_text: "' '"
uaa_certificate: |
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
acceptance_tests:
api: (( "api." domain ))
apps_domain: APP_DOMAIN
admin_user: sys-tester
admin_password: sys-tester-password
backend: diego
skip_ssl_validation: true
system_domain: (( domain ))
oauth_password: tcp_emitter_client_secret
include_diego_ssh: true
include_route_services: true
include_routing_api: true
include_v3: false
include_tasks: false
# include_sso: true
nodes: 2
existing_user: user-tester
existing_user_password: user_tester_password
include_sso: false
skip_regex: 'dotnet\-core|transparently\sproxies\sboth\sreserved\scharacters\sand\sunsafe\scharacters'
smoke_tests:
api: (( "api." domain ))
apps_domain: APP_DOMAIN
backend: diego
user: sys-tester
password: sys-tester-password
org: test
space: test
ginkgo_opts: ~
skip_ssl_validation: true
<<: ( merge )