From 31b78ff33c417d687b2eda029ed30ed93cf17ebf Mon Sep 17 00:00:00 2001 From: Marcin-Ramotowski Date: Thu, 9 Oct 2025 21:43:30 +0200 Subject: [PATCH] Created persistentVolumeClaim for Odoo app --- odoo-deploy.yaml | 3 ++- odoo-pvc.yml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 odoo-pvc.yml diff --git a/odoo-deploy.yaml b/odoo-deploy.yaml index 73f2e1f..3af863b 100644 --- a/odoo-deploy.yaml +++ b/odoo-deploy.yaml @@ -38,7 +38,8 @@ spec: mountPath: /bitnami/odoo volumes: - name: odoo-data - emptyDir: {} + persistentVolumeClaim: + claimName: odoo-pvc --- apiVersion: v1 kind: Service diff --git a/odoo-pvc.yml b/odoo-pvc.yml new file mode 100644 index 0000000..d482aa2 --- /dev/null +++ b/odoo-pvc.yml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: odoo-pvc + namespace: odoo +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi \ No newline at end of file