Configuration for containerized MySQL clients
authorDamien Ciabrini <dciabrin@redhat.com>
Tue, 6 Jun 2017 12:50:54 +0000 (08:50 -0400)
committerMichele Baldessari <michele@acksyn.org>
Tue, 13 Jun 2017 15:22:32 +0000 (17:22 +0200)
commit80f6907054f4e2683de5e54a1635ab56d8b3aa4e
treed6eae6be8161b9894370949004dceff7d0ffb467
parent7234e656a75b771da11af61a1b4948c0b43548ee
Configuration for containerized MySQL clients

This service generates the /etc/my.cnf.d/tripleo.cnf file which is
being used to configured MySQL clients (e.g. client bind address,
client SSL configuration...)

We generate the config file in this service and let containerized MySQL clients
mount /var/lib/config-data/mysql_client/etc/my.cnf.d/tripleo.cnf it in their
own container.  This way, when this MySQLClient service is updated, the other
containers will automatically pick the updated configuration at next restart.

Partial-Bug: #1692317
Change-Id: Idc56d27fb9645ad3b07df8ef08b7e2ce29e6d499
docker/services/database/mysql-client.yaml [new file with mode: 0644]
environments/docker.yaml