Merge "Fix cinder backup secret"

This commit is contained in:
Zuul 2019-01-19 10:18:57 +00:00 committed by Gerrit Code Review
commit 624d737efc
1 changed files with 7 additions and 0 deletions

View File

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