From e2c7b1305ca8495065dcf40fd2092d7c698dd6ea Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 20 Mar 2018 15:47:51 +0100 Subject: Local volumes and StatefulSet to provision Master/Slave MySQL and Galera cluster --- setup/projects/adei/vars/phpmyadmin.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 setup/projects/adei/vars/phpmyadmin.yml (limited to 'setup/projects/adei/vars/phpmyadmin.yml') diff --git a/setup/projects/adei/vars/phpmyadmin.yml b/setup/projects/adei/vars/phpmyadmin.yml new file mode 100644 index 0000000..63bd5d8 --- /dev/null +++ b/setup/projects/adei/vars/phpmyadmin.yml @@ -0,0 +1,16 @@ +phpmyadmin: + pods: + phpmyadmin: + service: { host: "phpmyadmin.{{ openshift_master_default_subdomain }}", ports: [ 80/8080 ] } + sched: { replicas: 1 } + images: + - image: "chsa/phpmyadmin-centos:4" + env: + - { name: "DB_SERVICE_HOST", value: "mysql.adei.svc.cluster.local" } + - { name: "DB_SERVICE_PORT", value: "3306" } + - { name: "DB_EXTRA_HOSTS", value: "mysql-master.adei.svc.cluster.local,mysql-slave.adei.svc.cluster.local,mysql.katrin.svc.cluster.local,galera.adei.svc.cluster.local" } +# - { name: "DB_SERVICE_CONTROL_USER", value: "pma" } +# - { name: "DB_SERVICE_CONTROL_PASSWORD", value: "secret@adei/pma-password" } + probes: + - { port: 8080, path: '/' } + \ No newline at end of file -- cgit v1.2.3