-
Notifications
You must be signed in to change notification settings - Fork 0
/
enable-tls-cloud-controller-postgres.yml
62 lines (52 loc) · 1.86 KB
/
enable-tls-cloud-controller-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
---
- type: replace
path: /instance_groups/name=database/jobs/name=postgres/properties/databases/tls?
value:
ca: "((postgres_tls.ca))"
certificate: "((postgres_tls.certificate))"
private_key: "((postgres_tls.private_key))"
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/ccdb/address?
value: sql-db.service.cf.internal
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/ccdb/ca_cert?
value: "((postgres_tls.ca))"
- type: replace
path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/ccdb/address?
value: sql-db.service.cf.internal
- type: replace
path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/ccdb/ca_cert?
value: "((postgres_tls.ca))"
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/ccdb/address?
value: sql-db.service.cf.internal
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/ccdb/ca_cert?
value: "((postgres_tls.ca))"
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cc_deployment_updater/properties/ccdb/address?
value: sql-db.service.cf.internal
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cc_deployment_updater/properties/ccdb/ca_cert?
value: "((postgres_tls.ca))"
- type: replace
path: /variables/name=postgres_ca?
value:
name: postgres_ca
type: certificate
options:
common_name: postgres_ca
is_ca: true
- type: replace
path: /variables/name=postgres_tls?
value:
name: postgres_tls
type: certificate
update_mode: converge
options:
ca: postgres_ca
common_name: sql-db.service.cf.internal
alternative_names:
- sql-db.service.cf.internal
extended_key_usage:
- server_auth