diff --git a/deploy/df-wiki/templates/deployment.yaml b/deploy/df-wiki/templates/deployment.yaml index fbb5031e1d9fa1777e2766b292edf0547643f0a5..9542cf3644393a5ec8d1f91170d8d2563e9109c0 100644 --- a/deploy/df-wiki/templates/deployment.yaml +++ b/deploy/df-wiki/templates/deployment.yaml @@ -56,6 +56,8 @@ spec: mountPath: /etc/nginx/conf.d/ - name: structure-data-pvc mountPath: /usr/share/nginx/html + - name: structure-data-ceph + mountPath: /test-ceph - name: website-pvc mountPath: /website @@ -81,6 +83,9 @@ spec: - name: structure-data-pvc persistentVolumeClaim: claimName: structure-data-pvc + - name: structure-data-ceph + persistentVolumeClaim: + claimName: structure-data-ceph - name: website-pvc persistentVolumeClaim: claimName: website-pvc diff --git a/deploy/df-wiki/templates/pvc-structure-ceph.yaml b/deploy/df-wiki/templates/pvc-structure-ceph.yaml new file mode 100644 index 0000000000000000000000000000000000000000..521bb42024f3a7629d53a368204cc33341469c21 --- /dev/null +++ b/deploy/df-wiki/templates/pvc-structure-ceph.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: structure-data-ceph + annotations: + "helm.sh/resource-policy": keep +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 3Gi + storageClassName: ceph-block + volumeMode: Filesystem \ No newline at end of file