diff --git a/ceph/templates/daemonset.yaml b/ceph/templates/daemonset.yaml index 9e0e554cfd..6c350cbe05 100644 --- a/ceph/templates/daemonset.yaml +++ b/ceph/templates/daemonset.yaml @@ -20,9 +20,8 @@ spec: hostPath: path: /dev - name: ceph - emptyDir: {} -# hostPath: -# path: /opt/ceph + hostPath: + path: {{ .Values.storage.var_directory }} - name: ceph-conf secret: secretName: ceph-conf-combined @@ -36,9 +35,8 @@ spec: secret: secretName: ceph-bootstrap-rgw-keyring - name: osd-directory - emptyDir: {} -# hostPath: -# path: /home/core/data/ceph/osd + hostPath: + path: {{ .Values.storage.osd_directory }} containers: - name: osd-pod image: {{ .Values.images.daemon }} diff --git a/ceph/values.yaml b/ceph/values.yaml index c90d197c8d..550536cdb3 100644 --- a/ceph/values.yaml +++ b/ceph/values.yaml @@ -20,3 +20,7 @@ network: mon: 6789 rgw_ingress: 80 rgw_target: 8088 + +storage: + osd_directory: /var/lib/aic-helm/ceph/osd + var_directory: /var/lib/aic-helm/ceph/ceph \ No newline at end of file