diff --git a/cinder/templates/deployment-backup.yaml b/cinder/templates/deployment-backup.yaml index 4cb5eb0972..f6c454edf0 100644 --- a/cinder/templates/deployment-backup.yaml +++ b/cinder/templates/deployment-backup.yaml @@ -162,11 +162,18 @@ spec: subPath: external-backup-ceph.conf readOnly: true {{- end }} + {{- if eq .Values.conf.cinder.DEFAULT.backup_driver "cinder.backup.drivers.ceph" }} + - name: ceph-backup-keyring + mountPath: /tmp/client-keyring + subPath: key + readOnly: true + {{- else }} - name: ceph-keyring mountPath: /tmp/client-keyring subPath: key readOnly: true {{- end }} + {{- end }} {{- if eq .Values.conf.cinder.DEFAULT.backup_driver "cinder.backup.drivers.posix" }} - name: cinder-backup mountPath: {{ .Values.conf.cinder.DEFAULT.backup_posix_path }}