-
Notifications
You must be signed in to change notification settings - Fork 309
/
use-haproxy.yml
55 lines (55 loc) · 1.35 KB
/
use-haproxy.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
- type: replace
path: /releases/-
value:
name: haproxy
sha1: 5587d13d72db5aa88f1dc358d609dd364468160b
url: https://bosh.io/d/github.com/cloudfoundry-incubator/haproxy-boshrelease?v=14.5.1%2B2.8.12
version: 14.5.1+2.8.12
- type: remove
path: /instance_groups/name=router/vm_extensions
- type: remove
path: /instance_groups/name=tcp-router/vm_extensions
- type: remove
path: /instance_groups/name=scheduler/vm_extensions
- type: replace
path: /instance_groups/name=smoke-tests:before
value:
azs:
- z1
instances: 1
jobs:
- name: haproxy
properties:
ha_proxy:
backend_ca_file: ((router_ssl.ca))
backend_port: 443
backend_ssl: verify
ssl_pem: ((haproxy_ssl.certificate))((haproxy_ssl.private_key))
tcp_link_port: 2222
release: haproxy
name: haproxy
networks:
- name: default
static_ips:
- ((haproxy_private_ip))
stemcell: default
vm_type: minimal
- type: replace
path: /variables/-
value:
name: haproxy_ca
options:
common_name: haproxyCA
is_ca: true
type: certificate
- type: replace
path: /variables/-
value:
name: haproxy_ssl
options:
alternative_names:
- ((system_domain))
- '*.((system_domain))'
ca: haproxy_ca
common_name: haproxySSL
type: certificate