aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/database/mysql.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-15 06:19:13 +0000
committerGerrit Code Review <review@openstack.org>2017-07-15 06:19:13 +0000
commit2185b835602ffb276b8142db68d472611fdf127a (patch)
tree50c351054ae33f3750e2a3a0a218432ddc6dcf02 /docker/services/database/mysql.yaml
parent07a5fe1ba66cbad5afafbbd30d2d78129cb90bae (diff)
parente76d84f784d27a7a2d9e5f3a8b019f8254cb4d6c (diff)
Merge "Use a single configuration file for specifying docker containers."
Diffstat (limited to 'docker/services/database/mysql.yaml')
-rw-r--r--docker/services/database/mysql.yaml16
1 files changed, 2 insertions, 14 deletions
diff --git a/docker/services/database/mysql.yaml b/docker/services/database/mysql.yaml
index 40744bbf..54331415 100644
--- a/docker/services/database/mysql.yaml
+++ b/docker/services/database/mysql.yaml
@@ -4,17 +4,11 @@ description: >
MySQL service deployment using puppet
parameters:
- DockerNamespace:
- description: namespace
- default: 'tripleoupstream'
- type: string
DockerMysqlImage:
description: image
- default: 'centos-binary-mariadb:latest'
type: string
DockerMysqlConfigImage:
description: The container image to use for the mysql config_volume
- default: 'centos-binary-mariadb:latest'
type: string
EndpointMap:
default: {}
@@ -83,10 +77,7 @@ outputs:
config_volume: mysql
puppet_tags: file # set this even though file is the default
step_config: *step_config
- config_image: &mysql_config_image
- list_join:
- - '/'
- - [ {get_param: DockerNamespace}, {get_param: DockerMysqlConfigImage} ]
+ config_image: &mysql_config_image {get_param: DockerMysqlConfigImage}
kolla_config:
/var/lib/kolla/config_files/mysql.json:
command: /usr/bin/mysqld_safe
@@ -103,10 +94,7 @@ outputs:
# Kolla_bootstrap runs before permissions set by kolla_config
step_1:
mysql_init_logs:
- image: &mysql_image
- list_join:
- - '/'
- - [ {get_param: DockerNamespace}, {get_param: DockerMysqlImage} ]
+ image: &mysql_image {get_param: DockerMysqlImage}
privileged: false
user: root
volumes: