diff --git a/charts/postgres/templates/storage.yaml b/charts/postgres/templates/storage.yaml index 88a745d..3c7d42d 100644 --- a/charts/postgres/templates/storage.yaml +++ b/charts/postgres/templates/storage.yaml @@ -8,7 +8,7 @@ metadata: spec: storageClassName: manual capacity: - storage: 10Mi + storage: 5Gi accessModes: - ReadWriteMany hostPath: diff --git a/charts/postgres/values.yaml b/charts/postgres/values.yaml index feef102..b56596d 100644 --- a/charts/postgres/values.yaml +++ b/charts/postgres/values.yaml @@ -27,8 +27,9 @@ volumes: claimName: postgres-pv-claim volumeMounts: -- mountPath: /var/lib/postgresql/ts-data +- mountPath: /var/lib/postgresql/data name: postgres-volume + subPath: data autoscaling: enabled: false @@ -59,5 +60,5 @@ openplatform: pvc: storageClass: ebs accessMode: ReadWriteOnce - storageSize: 10Mi + storageSize: 5Gi backupSchedule: "0 0 * * 0-6"