Skip to content

Commit

Permalink
Adding tuning tests for new SSL properties in my.cnf [#151419854]
Browse files Browse the repository at this point in the history
Signed-off-by: Nitya Dhanushkodi <[email protected]>
  • Loading branch information
utricularian authored and ndhanushkodi committed Sep 27, 2017
1 parent 77bf3f2 commit 4bf572f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
4 changes: 3 additions & 1 deletion assets/tuning/everything_disabled.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
"server_audit_excl_users": "",
"log_bin": "OFF",
"expire_logs_days": "0",
"wsrep_on": "OFF"
"wsrep_on": "OFF",
"ssl_cert": "",
"ssl_key": ""
}
4 changes: 3 additions & 1 deletion assets/tuning/everything_enabled.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@
"wsrep_log_conflicts": "OFF",
"log_queries_not_using_indexes": "ON",
"event_scheduler": "ON",
"local_infile": "ON"
"local_infile": "ON",
"ssl_cert": "/etc/mysql/server-cert.pem",
"ssl_key": "/etc/mysql/server-key.pem"
}
27 changes: 27 additions & 0 deletions assets/tuning/everything_enabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,30 @@
- type: replace
path: /instance_groups/name=mysql/jobs/name=mysql/properties/cf_mysql/mysql/enable_galera?
value: true

- type: replace
path: /instance_groups/name=mysql/jobs/name=mysql/properties/cf_mysql/mysql/tls?/server_certificate
value: ((cf_mysql_mysql_tls_server_certificate.certificate))

- type: replace
path: /instance_groups/name=mysql/jobs/name=mysql/properties/cf_mysql/mysql/tls?/server_key
value: ((cf_mysql_mysql_tls_server_certificate.private_key))

- type: replace
path: /variables/-
value:
name: cf_mysql_mysql_tls_ca_certificate
type: certificate
options:
is_ca: true
common_name: cf-mysql-ca

- type: replace
path: /variables/-
value:
name: cf_mysql_mysql_tls_server_certificate
type: certificate
options:
common_name: cf-mysql-certificate
ca: cf_mysql_mysql_tls_ca_certificate

0 comments on commit 4bf572f

Please sign in to comment.