Skip to content

Commit

Permalink
fix storage space and adds subpath to volume mount
Browse files Browse the repository at this point in the history
  • Loading branch information
gbuenodevsuse committed Aug 8, 2024
1 parent 85349a5 commit bdac6fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/postgres/templates/storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
storageClassName: manual
capacity:
storage: 10Mi
storage: 5Gi
accessModes:
- ReadWriteMany
hostPath:
Expand Down
5 changes: 3 additions & 2 deletions charts/postgres/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -59,5 +60,5 @@ openplatform:
pvc:
storageClass: ebs
accessMode: ReadWriteOnce
storageSize: 10Mi
storageSize: 5Gi
backupSchedule: "0 0 * * 0-6"

0 comments on commit bdac6fb

Please sign in to comment.