Compare commits

..

3 Commits

Author SHA1 Message Date
Marcin-Ramotowski
31b78ff33c Created persistentVolumeClaim for Odoo app 2025-10-09 21:43:30 +02:00
Marcin-Ramotowski
598065fb98 Created ConfigMap and Secret 2025-10-04 16:12:43 +02:00
Marcin-Ramotowski
25cd302c42 Updated docker images names 2025-10-04 16:11:19 +02:00
3 changed files with 14 additions and 2 deletions

View File

@@ -38,7 +38,8 @@ spec:
mountPath: /bitnami/odoo
volumes:
- name: odoo-data
emptyDir: {}
persistentVolumeClaim:
claimName: odoo-pvc
---
apiVersion: v1
kind: Service

11
odoo-pvc.yml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: odoo-pvc
namespace: odoo
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi

View File

@@ -26,7 +26,7 @@ spec:
secretKeyRef:
name: odoo-secret
key: DB_PASSWORD
- name: POSTGRES_USERNAME
- name: POSTGRESQL_USERNAME
valueFrom:
configMapKeyRef:
name: odoo-configmap