Merge "Cinder containers: volume and env customizations"
This commit is contained in:
commit
5a219d53bf
@ -52,6 +52,14 @@ parameters:
|
||||
CephClientUserName:
|
||||
default: openstack
|
||||
type: string
|
||||
CinderVolumeOptVolumes:
|
||||
default: []
|
||||
description: list of optional volumes to be mounted
|
||||
type: comma_delimited_list
|
||||
CinderVolumeOptEnvVars:
|
||||
default: []
|
||||
description: list of optional environment variables
|
||||
type: comma_delimited_list
|
||||
|
||||
resources:
|
||||
|
||||
@ -143,6 +151,7 @@ outputs:
|
||||
volumes:
|
||||
list_concat:
|
||||
- {get_attr: [ContainersCommon, volumes]}
|
||||
- {get_param: CinderVolumeOptVolumes}
|
||||
-
|
||||
- /var/lib/kolla/config_files/cinder_volume.json:/var/lib/kolla/config_files/config.json:ro
|
||||
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
|
||||
@ -155,7 +164,10 @@ outputs:
|
||||
- /var/lib/cinder:/var/lib/cinder
|
||||
- /var/log/containers/cinder:/var/log/cinder
|
||||
environment:
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
list_concat:
|
||||
- {get_param: CinderVolumeOptEnvVars}
|
||||
-
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
host_prep_tasks:
|
||||
- name: create persistent directories
|
||||
file:
|
||||
|
Loading…
Reference in New Issue
Block a user