Merge "Fix cinder backup secret"
This commit is contained in:
commit
624d737efc
@ -162,11 +162,18 @@ spec:
|
|||||||
subPath: external-backup-ceph.conf
|
subPath: external-backup-ceph.conf
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- end }}
|
{{- 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
|
- name: ceph-keyring
|
||||||
mountPath: /tmp/client-keyring
|
mountPath: /tmp/client-keyring
|
||||||
subPath: key
|
subPath: key
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if eq .Values.conf.cinder.DEFAULT.backup_driver "cinder.backup.drivers.posix" }}
|
{{- if eq .Values.conf.cinder.DEFAULT.backup_driver "cinder.backup.drivers.posix" }}
|
||||||
- name: cinder-backup
|
- name: cinder-backup
|
||||||
mountPath: {{ .Values.conf.cinder.DEFAULT.backup_posix_path }}
|
mountPath: {{ .Values.conf.cinder.DEFAULT.backup_posix_path }}
|
||||||
|
Loading…
Reference in New Issue
Block a user