Add volumemounts to cinder-backup container

Adding volumemounts to allow cinder to access /var/lib/cinder/tmp

Change-Id: I1e93587da2b4889118f2b941c89e7d3adee2b7c8
This commit is contained in:
KHIYANI, RAHUL (rk0850) 2020-08-20 09:14:18 -05:00
parent 0a91dd5f30
commit 3221807042
1 changed files with 4 additions and 0 deletions

View File

@ -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