Skip to content

Commit 59eb562

Browse files
committed
using emptyDir for postgresql run
1 parent 53fa8b9 commit 59eb562

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

templates/postgresql/postgresql-statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ spec:
4646
subPath: postgresql.conf
4747
- mountPath: /dev/shm
4848
name: dshm
49+
- mountPath: /run/postgresql
50+
name: postgresql-run
4951
env:
5052
- name: POSTGRES_DB
5153
value: devguard
@@ -104,3 +106,5 @@ spec:
104106
emptyDir:
105107
medium: Memory
106108
sizeLimit: {{ .Values.postgresql.shm.sizeLimit }}
109+
- name: postgresql-run
110+
emptyDir: {}

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ observability:
288288
exporter:
289289
image:
290290
repository: prometheuscommunity/postgres-exporter
291-
tag: v1.3.0
291+
tag: v0.19.1
292292
pullPolicy: IfNotPresent
293293
resources:
294294
limits:

0 commit comments

Comments
 (0)