forked from cloudfoundry/pxc-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pxc-deployment.yml
66 lines (61 loc) · 1.35 KB
/
pxc-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
name: pxc
releases:
- name: pxc
version: latest
instance_groups:
- name: mysql
instances: 1
azs: [z1, z2, z3]
networks: [{name: default}]
vm_type: default
stemcell: default
persistent_disk: 10000
jobs:
- name: pxc-mysql
release: pxc
properties:
admin_password: ((cf_mysql_mysql_admin_password))
tls:
galera: ((galera_server_certificate))
server: ((mysql_server_certificate))
- name: smoke-tests
release: pxc
properties:
db_password: ((smoke_tests_db_password))
- name: smoke-tests-user
release: pxc
stemcells:
- alias: default
os: ubuntu-trusty
version: latest
update:
canaries: 1
canary_watch_time: 10000-600000
max_in_flight: 1
update_watch_time: 10000-600000
variables:
- name: cf_mysql_mysql_admin_password
type: password
- name: pxc_galera_ca
type: certificate
options:
is_ca: true
common_name: pxc_galera_ca
- name: pxc_server_ca
type: certificate
options:
is_ca: true
common_name: pxc_server_ca
- name: galera_server_certificate
type: certificate
options:
ca: pxc_galera_ca
extended_key_usage: [ "server_auth", "client_auth" ]
common_name: galera_server_certificate
- name: mysql_server_certificate
type: certificate
options:
ca: pxc_server_ca
common_name: mysql_server_certificate
- name: smoke_tests_db_password
type: password