Created persistentVolumeClaim for Odoo app
This commit is contained in:
@@ -38,7 +38,8 @@ spec:
|
|||||||
mountPath: /bitnami/odoo
|
mountPath: /bitnami/odoo
|
||||||
volumes:
|
volumes:
|
||||||
- name: odoo-data
|
- name: odoo-data
|
||||||
emptyDir: {}
|
persistentVolumeClaim:
|
||||||
|
claimName: odoo-pvc
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
11
odoo-pvc.yml
Normal file
11
odoo-pvc.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: odoo-pvc
|
||||||
|
namespace: odoo
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
Reference in New Issue
Block a user