From d4cf8f8c71ac21ccb12fdf6776398d0d7da0c4c8 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Wed, 31 Jul 2019 15:05:29 -0500 Subject: [PATCH] Cinder: Make image conversion dir an emptydir This PS makes the image conversion directory an emptydir, so that we can use read only containers and sill convert images from glance into volumes. Change-Id: Id3cda737895451c2261bf9adfe54995db28c2f63 Signed-off-by: Pete Birley --- cinder/templates/deployment-volume.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cinder/templates/deployment-volume.yaml b/cinder/templates/deployment-volume.yaml index 05c07a3eaa..3411305a7e 100755 --- a/cinder/templates/deployment-volume.yaml +++ b/cinder/templates/deployment-volume.yaml @@ -138,6 +138,8 @@ spec: readOnly: true - name: pod-shared mountPath: /tmp/pod-shared + - name: cinder-conversion + mountPath: /var/lib/cinder/conversion - name: cinder-etc mountPath: /etc/cinder/cinder.conf subPath: cinder.conf @@ -210,6 +212,8 @@ spec: emptyDir: {} - name: pod-shared emptyDir: {} + - name: cinder-conversion + emptyDir: {} - name: ceph-etc configMap: name: {{ .Values.ceph_client.configmap }}