fuel-ccp-cinder/service/cinder-volume.yaml

28 lines
703 B
YAML

dsl_version: 0.1.0
service:
name: cinder-volume
containers:
- name: cinder-volume
image: cinder-volume
privileged: true
daemon:
command: cinder-volume --config-file /etc/cinder/cinder.conf
files:
- cinder-conf
# {% if cinder.ceph.enable %}
- ceph-conf
- cinder-ceph-key
# {% endif %}
dependencies:
- cinder-api
files:
cinder-conf:
path: /etc/cinder/cinder.conf
content: cinder.conf.j2
ceph-conf:
path: /etc/ceph/ceph.conf
content: ceph.conf.j2
cinder-ceph-key:
path: /etc/ceph/ceph.client.{{ cinder.ceph.username }}.keyring
content: ceph.client.cinder.keyring.j2