From d9cd9ea64e66e166d7dbffb482a28715f84cfbb8 Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Thu, 16 Apr 2026 09:52:29 +0200 Subject: [PATCH] feat: :wrench: Update Manifest to add specific PVC for WP Uploads --- manifest.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/manifest.yaml b/manifest.yaml index 6fedec4c..4feac966 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -56,6 +56,18 @@ spec: requests: storage: $APP_PVC_SIZE --- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: ${CI_PROJECT_PATH_SLUG}-wp-uploads-pvc-storage +spec: + storageClassName: "csi-cinder-classic" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: $APP_WP_UPLOADS_PVC_SIZE +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -86,6 +98,8 @@ spec: volumeMounts: - name: storage mountPath: /app/srcs/storage + - name: wp-uploads-storage + mountPath: /app/srcs/public/app/uploads - name: ${CI_PROJECT_PATH_SLUG}-queue-worker image: $IMAGE_TAG lifecycle: @@ -120,6 +134,9 @@ spec: - name: storage persistentVolumeClaim: claimName: ${CI_PROJECT_PATH_SLUG}-pvc-storage + - name: wp-uploads-storage + persistentVolumeClaim: + claimName: ${CI_PROJECT_PATH_SLUG}-wp-uploads-pvc-storage --- apiVersion: v1 kind: Service