-
Notifications
You must be signed in to change notification settings - Fork 36
/
use_ssl.yml
32 lines (28 loc) · 894 Bytes
/
use_ssl.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
- type: replace
path: /instance_groups/name=postgres/jobs/name=postgres/properties/databases/tls?/ca
value: ((postgres_cert.ca))
- type: replace
path: /instance_groups/name=postgres/jobs/name=postgres/properties/databases/tls?/certificate
value: ((postgres_cert.certificate))
- type: replace
path: /instance_groups/name=postgres/jobs/name=postgres/properties/databases/tls?/private_key
value: ((postgres_cert.private_key))
- type: replace
path: /variables?/name=postgres_ca?
value:
name: postgres_ca
type: certificate
options:
is_ca: true
common_name: postgres_ca
- type: replace
path: /variables?/name=postgres_cert?
value:
name: postgres_cert
type: certificate
options:
ca: postgres_ca
common_name: ((postgres_host_or_ip))
alternative_names: [((postgres_host_or_ip))]
extended_key_usage:
- server_auth