-
Notifications
You must be signed in to change notification settings - Fork 306
/
cf-deployment.yml
2457 lines (2439 loc) · 70.6 KB
/
cf-deployment.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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
name: cf
manifest_version: v12.4.0
update:
canaries: 1
canary_watch_time: 30000-1200000
max_in_flight: 1
serial: false
update_watch_time: 5000-1200000
addons:
- name: loggregator_agent
include:
stemcell:
- os: ubuntu-xenial
exclude:
jobs:
- name: smoke_tests
release: cf-smoke-tests
jobs:
- name: loggregator_agent
release: loggregator-agent
properties:
grpc_port: 3459
disable_udp: true
loggregator:
tls:
ca_cert: "((loggregator_tls_agent.ca))"
agent:
cert: "((loggregator_tls_agent.certificate))"
key: "((loggregator_tls_agent.private_key))"
metrics:
ca_cert: "((loggregator_agent_metrics_tls.ca))"
cert: "((loggregator_agent_metrics_tls.certificate))"
key: "((loggregator_agent_metrics_tls.private_key))"
server_name: loggregator_agent_metrics
- name: forwarder_agent
include:
stemcell:
- os: ubuntu-xenial
jobs:
- name: loggr-forwarder-agent
release: loggregator-agent
properties:
tls:
ca_cert: "((loggregator_tls_agent.ca))"
cert: "((loggregator_tls_agent.certificate))"
key: "((loggregator_tls_agent.private_key))"
metrics:
ca_cert: "((forwarder_agent_metrics_tls.ca))"
cert: "((forwarder_agent_metrics_tls.certificate))"
key: "((forwarder_agent_metrics_tls.private_key))"
server_name: forwarder_agent_metrics
- name: prom_scraper
include:
stemcell:
- os: ubuntu-xenial
exclude:
jobs:
- name: smoke_tests
release: cf-smoke-tests
jobs:
- name: prom_scraper
release: loggregator-agent
properties:
scrape:
tls:
ca_cert: "((prom_scraper_scrape_tls.ca))"
cert: "((prom_scraper_scrape_tls.certificate))"
key: "((prom_scraper_scrape_tls.private_key))"
metrics:
ca_cert: "((prom_scraper_metrics_tls.ca))"
cert: "((prom_scraper_metrics_tls.certificate))"
key: "((prom_scraper_metrics_tls.private_key))"
server_name: prom_scraper_metrics
- name: bpm
include:
stemcell:
- os: ubuntu-xenial
jobs:
- name: bpm
release: bpm
- name: bosh-dns-aliases
jobs:
- name: bosh-dns-aliases
release: bosh-dns-aliases
properties:
aliases:
- domain: '_.cell.service.cf.internal'
targets:
- query: '_'
instance_group: diego-cell
deployment: cf
network: default
domain: bosh
- query: '_'
instance_group: windows2012R2-cell
deployment: cf
network: default
domain: bosh
- query: '_'
instance_group: windows2016-cell
deployment: cf
network: default
domain: bosh
- query: '_'
instance_group: windows1803-cell
deployment: cf
network: default
domain: bosh
- query: '_'
instance_group: windows2019-cell
deployment: cf
network: default
domain: bosh
- query: '_'
instance_group: isolated-diego-cell
deployment: cf
network: default
domain: bosh
- domain: auctioneer.service.cf.internal
targets:
- query: 'q-s4'
instance_group: scheduler
deployment: cf
network: default
domain: bosh
- domain: bbs.service.cf.internal
targets:
- query: 'q-s4'
instance_group: diego-api
deployment: cf
network: default
domain: bosh
- domain: bits.service.cf.internal
targets:
- query: '*'
instance_group: bits
deployment: cf
network: default
domain: bosh
- domain: blobstore.service.cf.internal
targets:
- query: '*'
instance_group: singleton-blobstore
deployment: cf
network: default
domain: bosh
- domain: cc-uploader.service.cf.internal
targets:
- query: '*'
instance_group: api
deployment: cf
network: default
domain: bosh
- domain: cloud-controller-ng.service.cf.internal
targets:
- query: '*'
instance_group: api
deployment: cf
network: default
domain: bosh
- domain: credhub.service.cf.internal
targets:
- query: '*'
instance_group: credhub
deployment: cf
network: default
domain: bosh
- domain: doppler.service.cf.internal
targets:
- query: '*'
instance_group: doppler
deployment: cf
network: default
domain: bosh
- domain: file-server.service.cf.internal
targets:
- query: '*'
instance_group: api
deployment: cf
network: default
domain: bosh
- domain: gorouter.service.cf.internal
targets:
- query: '*'
instance_group: router
deployment: cf
network: default
domain: bosh
- domain: locket.service.cf.internal
targets:
- query: '*'
instance_group: diego-api
deployment: cf
network: default
domain: bosh
- domain: loggregator-trafficcontroller.service.cf.internal
targets:
- query: '*'
instance_group: log-api
deployment: cf
network: default
domain: bosh
- domain: policy-server.service.cf.internal
targets:
- query: '*'
instance_group: api
deployment: cf
network: default
domain: bosh
- domain: reverse-log-proxy.service.cf.internal
targets:
- query: '*'
instance_group: log-api
deployment: cf
network: default
domain: bosh
- domain: routing-api.service.cf.internal
targets:
- query: '*'
instance_group: api
deployment: cf
network: default
domain: bosh
- domain: silk-controller.service.cf.internal
targets:
- query: '*'
instance_group: diego-api
deployment: cf
network: default
domain: bosh
- domain: sql-db.service.cf.internal
targets:
- query: '*'
instance_group: database
deployment: cf
network: default
domain: bosh
- domain: ssh-proxy.service.cf.internal
targets:
- query: '*'
instance_group: scheduler
deployment: cf
network: default
domain: bosh
- domain: tps.service.cf.internal
targets:
- query: '*'
instance_group: scheduler
deployment: cf
network: default
domain: bosh
- domain: uaa.service.cf.internal
targets:
- query: '*'
instance_group: uaa
deployment: cf
network: default
domain: bosh
instance_groups:
- name: smoke-tests
lifecycle: errand
azs:
- z1
instances: 1
vm_type: minimal
stemcell: default
update:
serial: true
networks:
- name: default
jobs:
- name: smoke_tests
release: cf-smoke-tests
properties:
bpm:
enabled: true
smoke_tests:
api: "https://api.((system_domain))"
apps_domain: "((system_domain))"
client: cf_smoke_tests
client_secret: "((uaa_clients_cf_smoke_tests_secret))"
org: cf_smoke_tests_org
space: cf_smoke_tests_space
cf_dial_timeout_in_seconds: 300
skip_ssl_validation: true
- name: cf-cli-6-linux
release: cf-cli
- name: nats
azs:
- z1
- z2
instances: 2
vm_type: minimal
stemcell: default
networks:
- name: default
jobs:
- name: nats
release: nats
provides:
nats: {as: nats, shared: true}
properties:
nats:
password: "((nats_password))"
user: nats
- name: adapter
azs:
- z1
- z2
instances: 2
vm_type: minimal
stemcell: default
networks:
- name: default
jobs:
- name: adapter
release: cf-syslog-drain
properties:
scalablesyslog:
adapter:
tls:
ca: "((adapter_tls.ca))"
cert: "((adapter_tls.certificate))"
key: "((adapter_tls.private_key))"
cn: ss-adapter
adapter_rlp:
tls:
ca: "((adapter_rlp_tls.ca))"
cert: "((adapter_rlp_tls.certificate))"
key: "((adapter_rlp_tls.private_key))"
cn: reverselogproxy
- name: database
migrated_from:
- name: mysql
- name: singleton-database
azs:
- z1
persistent_disk_type: 10GB
instances: 1
vm_type: small
stemcell: default
update:
serial: true
networks:
- name: default
jobs:
- name: pxc-mysql
release: pxc
properties:
admin_password: ((cf_mysql_mysql_admin_password))
engine_config:
binlog:
enabled: false
galera:
enabled: true
port: 13306
seeded_databases:
- name: cloud_controller
password: ((cc_database_password))
username: cloud_controller
- name: diego
password: ((diego_database_password))
username: diego
- name: network_connectivity
password: ((network_connectivity_database_password))
username: network_connectivity
- name: network_policy
password: ((network_policy_database_password))
username: network_policy
- name: routing-api
password: ((routing_api_database_password))
username: routing-api
- name: uaa
password: ((uaa_database_password))
username: uaa
- name: locket
password: ((locket_database_password))
username: locket
- name: credhub
password: ((credhub_database_password))
username: credhub
tls:
galera: ((galera_server_certificate))
server: ((mysql_server_certificate))
- name: proxy
release: pxc
properties:
api_password: ((cf_mysql_proxy_api_password))
api_port: 8083
api_uri: proxy.((system_domain))
- name: galera-agent
release: pxc
properties:
db_password: ((cf_mysql_mysql_galera_healthcheck_password))
endpoint_password: ((cf_mysql_mysql_galera_healthcheck_endpoint_password))
- name: gra-log-purger
release: pxc
- name: cluster-health-logger
release: pxc
properties:
db_password: ((cf_mysql_mysql_cluster_health_password))
- name: route_registrar
release: routing
properties:
route_registrar:
routes:
- name: cf-mysql-proxy
port: 8083
prepend_instance_index: true
registration_interval: 10s
uris:
- proxy.((system_domain))
- name: cf-mysql-proxy-aggregator
port: 8082
registration_interval: 10s
uris:
- proxy.((system_domain))
- name: bootstrap
release: pxc
- name: diego-api
migrated_from:
- name: diego-bbs
azs:
- z1
- z2
instances: 2
vm_type: small
stemcell: default
update:
serial: true
networks:
- name: default
jobs:
- name: cfdot
release: diego
properties:
tls: &cfdot_tls_client_properties
ca_certificate: "((diego_rep_client.ca))"
certificate: "((diego_rep_client.certificate))"
private_key: "((diego_rep_client.private_key))"
- name: bbs
release: diego
properties:
bpm:
enabled: true
diego:
bbs:
active_key_label: key-2016-06
detect_consul_cell_registrations: false
encryption_keys:
- label: key-2016-06
passphrase: "((diego_bbs_encryption_keys_passphrase))"
sql:
db_host: sql-db.service.cf.internal
db_port: 3306
db_schema: diego
db_username: diego
db_password: "((diego_database_password))"
db_driver: mysql
ca_cert: "((mysql_server_certificate.ca))"
require_ssl: true
ca_cert: "((diego_bbs_server.ca))"
auctioneer: &diego_auctioneer_client_properties
ca_cert: "((diego_auctioneer_client.ca))"
client_cert: "((diego_auctioneer_client.certificate))"
client_key: "((diego_auctioneer_client.private_key))"
server_cert: "((diego_bbs_server.certificate))"
server_key: "((diego_bbs_server.private_key))"
skip_consul_lock: true
rep:
require_tls: true
ca_cert: "((diego_rep_client.ca))"
client_cert: "((diego_rep_client.certificate))"
client_key: "((diego_rep_client.private_key))"
enable_consul_service_registration: false
loggregator: &diego_loggregator_client_properties
use_v2_api: true
ca_cert: "((loggregator_tls_agent.ca))"
cert: "((loggregator_tls_agent.certificate))"
key: "((loggregator_tls_agent.private_key))"
logging:
format:
timestamp: "rfc3339"
- name: silk-controller
release: silk
properties:
ca_cert: ((silk_controller.ca))
server_cert: ((silk_controller.certificate))
server_key: ((silk_controller.private_key))
database:
type: mysql
username: network_connectivity
password: ((network_connectivity_database_password))
host: sql-db.service.cf.internal
port: 3306
name: network_connectivity
ca_cert: "((mysql_server_certificate.ca))"
require_ssl: true
silk_daemon:
ca_cert: ((silk_daemon.ca))
client_cert: ((silk_daemon.certificate))
client_key: ((silk_daemon.private_key))
- name: locket
release: diego
properties:
bpm:
enabled: true
tls:
ca_cert: "((diego_locket_server.ca))"
cert: "((diego_locket_server.certificate))"
key: "((diego_locket_server.private_key))"
diego:
locket:
sql:
db_host: sql-db.service.cf.internal
db_port: 3306
db_schema: locket
db_username: locket
db_password: "((locket_database_password))"
db_driver: mysql
ca_cert: "((mysql_server_certificate.ca))"
require_ssl: true
enable_consul_service_registration: false
loggregator:
use_v2_api: true
ca_cert: "((loggregator_tls_agent.ca))"
cert: "((loggregator_tls_agent.certificate))"
key: "((loggregator_tls_agent.private_key))"
logging:
format:
timestamp: "rfc3339"
- name: loggr-udp-forwarder
release: loggregator-agent
properties:
loggregator:
tls:
ca: "((loggregator_tls_agent.ca))"
cert: "((loggregator_tls_agent.certificate))"
key: "((loggregator_tls_agent.private_key))"
metrics:
ca_cert: "((loggr_udp_forwarder_tls.ca))"
cert: "((loggr_udp_forwarder_tls.certificate))"
key: "((loggr_udp_forwarder_tls.private_key))"
server_name: loggr_udp_forwarder_metrics
- name: uaa
azs:
- z1
- z2
instances: 2
vm_type: minimal
stemcell: default
networks:
- name: default
jobs:
- name: uaa
release: uaa
properties:
encryption:
active_key_label: default_key
encryption_keys:
- label: default_key
passphrase: ((uaa_default_encryption_passphrase))
login:
saml:
activeKeyId: key-1
keys:
key-1:
key: "((uaa_login_saml.private_key))"
certificate: "((uaa_login_saml.certificate))"
passphrase: ""
uaa:
sslCertificate: "((uaa_ssl.certificate))"
sslPrivateKey: "((uaa_ssl.private_key))"
zones:
internal:
hostnames:
- uaa.service.cf.internal
url: https://uaa.((system_domain))
admin:
client_secret: "((uaa_admin_client_secret))"
logging_level: INFO
scim:
users:
- name: admin
password: "((cf_admin_password))"
groups:
- clients.read
- cloud_controller.admin
- doppler.firehose
- network.admin
- openid
- routing.router_groups.read
- routing.router_groups.write
- scim.read
- scim.write
jwt:
policy:
active_key_id: key-1
keys:
key-1:
signingKey: "((uaa_jwt_signing_key.private_key))"
clients:
cc_routing:
authorities: routing.router_groups.read
authorized-grant-types: client_credentials
secret: "((uaa_clients_cc-routing_secret))"
cc-service-dashboards:
authorities: clients.read,clients.write,clients.admin
authorized-grant-types: client_credentials
scope: openid,cloud_controller_service_permissions.read
secret: "((uaa_clients_cc-service-dashboards_secret))"
cc_service_key_client:
authorities: credhub.read,credhub.write
authorized-grant-types: client_credentials
secret: "((uaa_clients_cc_service_key_client_secret))"
cf:
access-token-validity: 600
authorities: uaa.none
authorized-grant-types: password,refresh_token
override: true
refresh-token-validity: 2592000
scope: network.admin,network.write,cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write,doppler.firehose,uaa.user,routing.router_groups.read,routing.router_groups.write,cloud_controller.admin_read_only,cloud_controller.global_auditor,perm.admin,clients.read
secret: ''
cf_smoke_tests:
authorities: cloud_controller.admin
authorized-grant-types: client_credentials
secret: "((uaa_clients_cf_smoke_tests_secret))"
cloud_controller_username_lookup:
authorities: scim.userids
authorized-grant-types: client_credentials
secret: "((uaa_clients_cloud_controller_username_lookup_secret))"
credhub_admin_client:
authorities: credhub.read,credhub.write
authorized-grant-types: client_credentials
secret: ((credhub_admin_client_secret))
doppler:
authorities: uaa.resource
override: true
authorized-grant-types: client_credentials
secret: "((uaa_clients_doppler_secret))"
gorouter:
authorities: routing.routes.read
authorized-grant-types: client_credentials
secret: "((uaa_clients_gorouter_secret))"
ssh-proxy:
authorized-grant-types: authorization_code
autoapprove: true
override: true
redirect-uri: "https://uaa.((system_domain))/login"
scope: openid,cloud_controller.read,cloud_controller.write,cloud_controller.admin
secret: "((uaa_clients_ssh-proxy_secret))"
routing_api_client:
authorities: routing.routes.write,routing.routes.read,routing.router_groups.read
authorized-grant-types: client_credentials
secret: "((uaa_clients_routing_api_client_secret))"
network-policy:
authorities: uaa.resource,cloud_controller.admin_read_only
authorized-grant-types: client_credentials
secret: ((uaa_clients_network_policy_secret))
tcp_emitter:
authorities: routing.routes.write,routing.routes.read
authorized-grant-types: client_credentials
secret: "((uaa_clients_tcp_emitter_secret))"
tcp_router:
authorities: routing.routes.read
authorized-grant-types: client_credentials
secret: "((uaa_clients_tcp_router_secret))"
ca_certs:
- "((mysql_server_certificate.ca))"
uaadb:
address: sql-db.service.cf.internal
databases:
- name: uaa
tag: uaa
db_scheme: mysql
port: 3306
roles:
- name: uaa
password: "((uaa_database_password))"
tag: admin
- name: route_registrar
release: routing
properties:
route_registrar:
routes:
- health_check:
name: uaa-healthcheck
script_path: "/var/vcap/jobs/uaa/bin/health_check"
name: uaa
tls_port: 8443
server_cert_domain_san: "uaa.service.cf.internal"
registration_interval: 10s
tags:
component: uaa
uris:
- uaa.((system_domain))
- "*.uaa.((system_domain))"
- login.((system_domain))
- "*.login.((system_domain))"
- name: statsd_injector
release: statsd-injector
properties: &statsd_injector_properties
loggregator:
tls:
ca_cert: "((loggregator_tls_statsdinjector.ca))"
statsd_injector:
cert: "((loggregator_tls_statsdinjector.certificate))"
key: "((loggregator_tls_statsdinjector.private_key))"
- name: singleton-blobstore
migrated_from:
- name: blobstore
azs:
- z1
instances: 1
vm_type: small
persistent_disk_type: 100GB
stemcell: default
update:
serial: true
networks:
- name: default
jobs:
- name: blobstore
release: capi
properties:
select_directories_to_backup:
- "buildpacks"
- "packages"
- "droplets"
system_domain: "((system_domain))"
blobstore:
admin_users:
- username: blobstore-user
password: "((blobstore_admin_users_password))"
secure_link:
secret: "((blobstore_secure_link_secret))"
tls:
cert: "((blobstore_tls.certificate))"
private_key: "((blobstore_tls.private_key))"
- name: route_registrar
release: routing
properties:
route_registrar:
routes:
- name: blobstore
port: 8080
registration_interval: 20s
tags:
component: blobstore
uris:
- blobstore.((system_domain))
- name: api
azs:
- z1
- z2
instances: 2
vm_type: small
vm_extensions:
- 50GB_ephemeral_disk
stemcell: default
networks:
- name: default
jobs:
- name: cloud_controller_ng
release: capi
provides:
cloud_controller: {as: cloud_controller, shared: true}
properties:
router:
route_services_secret: "((router_route_services_secret))"
system_domain: "((system_domain))"
app_domains:
- "((system_domain))"
app_ssh:
host_key_fingerprint: "((diego_ssh_proxy_host_key.public_key_fingerprint))"
routing_api: &routing_api
enabled: true
credhub_api:
ca_cert: ((credhub_tls.ca))
ssl:
skip_cert_verify: true
uaa:
ca_cert: "((uaa_ssl.ca))"
clients:
cc_routing:
secret: "((uaa_clients_cc-routing_secret))"
cloud_controller_username_lookup:
secret: "((uaa_clients_cloud_controller_username_lookup_secret))"
cc-service-dashboards:
secret: "((uaa_clients_cc-service-dashboards_secret))"
cc_service_key_client:
secret: "((uaa_clients_cc_service_key_client_secret))"
url: https://uaa.((system_domain))
cc:
diego:
docker_staging_stack: cflinuxfs3
stacks:
- name: cflinuxfs3
description: Cloud Foundry Linux-based filesystem (Ubuntu 18.04)
default_running_security_groups:
- public_networks
- dns
default_staging_security_groups:
- public_networks
- dns
security_group_definitions:
- name: public_networks
rules:
- destination: 0.0.0.0-9.255.255.255
protocol: all
- destination: 11.0.0.0-169.253.255.255
protocol: all
- destination: 169.255.0.0-172.15.255.255
protocol: all
- destination: 172.32.0.0-192.167.255.255
protocol: all
- destination: 192.169.0.0-255.255.255.255
protocol: all
- name: dns
rules:
- destination: 0.0.0.0/0
ports: '53'
protocol: tcp
- destination: 0.0.0.0/0
ports: '53'
protocol: udp
install_buildpacks:
## Order is important here
- name: staticfile_buildpack
package: staticfile-buildpack-cflinuxfs3
- name: java_buildpack
package: java-buildpack-cflinuxfs3
- name: ruby_buildpack
package: ruby-buildpack-cflinuxfs3
- name: dotnet_core_buildpack
package: dotnet-core-buildpack-cflinuxfs3
- name: nodejs_buildpack
package: nodejs-buildpack-cflinuxfs3
- name: go_buildpack
package: go-buildpack-cflinuxfs3
- name: python_buildpack
package: python-buildpack-cflinuxfs3
- name: php_buildpack
package: php-buildpack-cflinuxfs3
- name: nginx_buildpack
package: nginx-buildpack-cflinuxfs3
- name: r_buildpack
package: r-buildpack-cflinuxfs3
- name: binary_buildpack
package: binary-buildpack-cflinuxfs3
db_encryption_key: "((cc_db_encryption_key))"
database_encryption: &cc-database-encryption
current_key_label: "encryption_key_0"
keys:
encryption_key_0: "((cc_db_encryption_key))"
bulk_api_password: "((cc_bulk_api_password))"
internal_api_password: "((cc_internal_api_password))"
staging_upload_user: staging_user
staging_upload_password: "((cc_staging_upload_password))"
temporary_use_logcache: true
logcache_tls:
private_key: "((cc_logcache_tls.private_key))"
certificate: "((cc_logcache_tls.certificate))"
buildpacks: &blobstore-properties
blobstore_type: webdav
webdav_config:
ca_cert: "((blobstore_tls.ca))"
blobstore_timeout: 5
password: "((blobstore_admin_users_password))"
private_endpoint: https://blobstore.service.cf.internal:4443
public_endpoint: https://blobstore.((system_domain))
username: blobstore-user
resource_pool: *blobstore-properties
packages: *blobstore-properties
droplets: *blobstore-properties
mutual_tls: &cc_mutual_tls
ca_cert: "((cc_tls.ca))"
public_cert: "((cc_tls.certificate))"
private_key: "((cc_tls.private_key))"
public_tls:
ca_cert: "((cc_public_tls.ca))"
certificate: "((cc_public_tls.certificate))"
private_key: "((cc_public_tls.private_key))"
ccdb: &ccdb
address: sql-db.service.cf.internal
databases:
- name: cloud_controller
tag: cc
db_scheme: mysql
port: 3306
roles:
- name: cloud_controller
password: "((cc_database_password))"
tag: admin
ca_cert: "((mysql_server_certificate.ca))"
- name: binary-buildpack
release: binary-buildpack
- name: dotnet-core-buildpack
release: dotnet-core-buildpack
- name: go-buildpack
release: go-buildpack
- name: java-buildpack
release: java-buildpack
- name: nodejs-buildpack
release: nodejs-buildpack
- name: nginx-buildpack
release: nginx-buildpack
- name: r-buildpack
release: r-buildpack
- name: php-buildpack
release: php-buildpack
- name: python-buildpack
release: python-buildpack
- name: ruby-buildpack
release: ruby-buildpack
- name: staticfile-buildpack
release: staticfile-buildpack
- name: route_registrar
release: routing
properties:
route_registrar:
routes:
- name: api
registration_interval: 10s
port: 9022
tls_port: 9024
server_cert_domain_san: "api.((system_domain))"
tags:
component: CloudController
uris:
- api.((system_domain))
health_check:
name: api-health-check
script_path: "/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_ng_health_check"
timeout: 6s
- name: policy-server
tls_port: 4002
server_cert_domain_san: "api.((system_domain))"
registration_interval: 20s
uris:
- api.((system_domain))/networking
- name: statsd_injector
release: statsd-injector
properties: *statsd_injector_properties
- name: file_server
release: diego
properties:
bpm:
enabled: true
enable_consul_service_registration: false
logging:
format:
timestamp: "rfc3339"
loggregator: *diego_loggregator_client_properties
- name: routing-api
release: routing
properties:
routing_api:
enabled_api_endpoints: "both"
mtls_ca: "((routing_api_tls_client.ca))"
mtls_server_cert: "((routing_api_tls.certificate))"
mtls_server_key: "((routing_api_tls.private_key))"
mtls_client_cert: "((routing_api_tls_client.certificate))"
mtls_client_key: "((routing_api_tls_client.private_key))"
skip_consul_lock: true
system_domain: "((system_domain))"
router_groups:
- name: default-tcp
type: tcp
reservable_ports: 1024-1033
sqldb:
host: sql-db.service.cf.internal
type: mysql
port: 3306
schema: routing-api
username: routing-api
password: "((routing_api_database_password))"
ca_cert: "((mysql_server_certificate.ca))"
locket:
api_location: "locket.service.cf.internal:8891"
ca_cert: "((diego_locket_client.ca))"
client_cert: "((diego_locket_client.certificate))"
client_key: "((diego_locket_client.private_key))"
uaa:
ca_cert: "((uaa_ssl.ca))"
tls_port: 8443
- name: policy-server
release: cf-networking
properties:
uaa_client_secret: ((uaa_clients_network_policy_secret))
uaa_ca: ((uaa_ssl.ca))
enable_space_developer_self_service: true
enable_tls: true
database: