Always run mysql init bundle
This init container runs docker-puppet manually and is responsible of provisioning the mysql users and passwords. This currently doesn't get ran every time since the configuration stays the same, even if the users or passwords change (which are gotten from hieradata). Allowing this to run every time will allow us to change database passwords Closes-Bug: #1762991 Change-Id: I1f07272499b419079466cf9f395fb04a082099bd
This commit is contained in:
parent
e9418e171c
commit
6c40b1586a
@ -55,6 +55,12 @@ parameters:
|
||||
default: false
|
||||
description: Whether to run config management (e.g. Puppet) in debug mode.
|
||||
type: boolean
|
||||
DeployIdentifier:
|
||||
default: ''
|
||||
type: string
|
||||
description: >
|
||||
Setting this to a unique value will re-run any deployment tasks which
|
||||
perform configuration on a Heat stack-update.
|
||||
|
||||
resources:
|
||||
|
||||
@ -262,6 +268,13 @@ outputs:
|
||||
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
|
||||
- /dev/shm:/dev/shm:rw
|
||||
- /var/lib/mysql:/var/lib/mysql:rw
|
||||
environment:
|
||||
# NOTE: this should force this container to re-run on each
|
||||
# update (scale-out, etc.)
|
||||
- list_join:
|
||||
- ''
|
||||
- - 'TRIPLEO_DEPLOY_IDENTIFIER='
|
||||
- {get_param: DeployIdentifier}
|
||||
host_prep_tasks:
|
||||
- name: create persistent directories
|
||||
file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user