diff --git a/ceph/templates/daemonset-mon.yaml b/ceph/templates/daemonset-mon.yaml index aca490f5f4..8a8b7df835 100644 --- a/ceph/templates/daemonset-mon.yaml +++ b/ceph/templates/daemonset-mon.yaml @@ -53,6 +53,9 @@ spec: - name: pod-var-lib-ceph mountPath: /var/lib/ceph readOnly: false + - name: mon-directory + mountPath: /var/lib/ceph/mon + readOnly: false - name: pod-run mountPath: /run readOnly: false @@ -143,6 +146,9 @@ spec: - name: pod-var-lib-ceph mountPath: /var/lib/ceph readOnly: false + - name: mon-directory + mountPath: /var/lib/ceph/mon + readOnly: false - name: pod-run mountPath: /run readOnly: false @@ -160,6 +166,9 @@ spec: - name: pod-run emptyDir: medium: "Memory" + - name: mon-directory + hostPath: + path: {{ .Values.ceph.storage.mon_directory }} - name: ceph-client-admin-keyring secret: secretName: {{ .Values.secrets.keyrings.admin }}