Kirill Bespalov | 5f0c1d6 | 2017-08-15 15:29:32 +0300 | [diff] [blame] | 1 | # class to enable tls for galera.master and galera.slave |
| 2 | |
| 3 | parameters: |
| 4 | _param: |
| 5 | mysql_ssl_key_file: /etc/mysql/ssl/key.pem |
| 6 | mysql_ssl_cert_file: /etc/mysql/ssl/cert.pem |
| 7 | mysql_ssl_ca_file: /etc/mysql/ssl/ca.pem |
| 8 | |
| 9 | galera: |
| 10 | master: |
| 11 | ssl: |
| 12 | enabled: True |
| 13 | key_file: ${_param:mysql_ssl_key_file} |
| 14 | cert_file: ${_param:mysql_ssl_cert_file} |
| 15 | ca_file: ${_param:mysql_ssl_ca_file} |
| 16 | slave: |
| 17 | ssl: |
| 18 | enabled: True |
| 19 | key_file: ${_param:mysql_ssl_key_file} |
| 20 | cert_file: ${_param:mysql_ssl_cert_file} |
| 21 | ca_file: ${_param:mysql_ssl_ca_file} |