From 32218070420f3221b00655beb1dcbe6ae8aff12b Mon Sep 17 00:00:00 2001 From: "KHIYANI, RAHUL (rk0850)" Date: Thu, 20 Aug 2020 09:14:18 -0500 Subject: [PATCH] Add volumemounts to cinder-backup container Adding volumemounts to allow cinder to access /var/lib/cinder/tmp Change-Id: I1e93587da2b4889118f2b941c89e7d3adee2b7c8 --- cinder/templates/deployment-backup.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cinder/templates/deployment-backup.yaml b/cinder/templates/deployment-backup.yaml index ecfd4257bf..9b0c4b1386 100755 --- a/cinder/templates/deployment-backup.yaml +++ b/cinder/templates/deployment-backup.yaml @@ -140,6 +140,8 @@ spec: volumeMounts: - name: pod-tmp mountPath: /tmp + - name: cinder-tmp + mountPath: /var/lib/cinder/tmp - name: cinder-bin mountPath: /tmp/cinder-backup.sh subPath: cinder-backup.sh @@ -212,6 +214,8 @@ spec: volumes: - name: pod-tmp emptyDir: {} + - name: cinder-tmp + emptyDir: {} - name: cinder-etc secret: secretName: cinder-etc