fix(postgres): use pgdata subdir for persistent volumes

This commit is contained in:
ximenchuifeng committed 2026-07-03 17:25:52 +08:00
1 parent d437650d8c
commit 79523adfda
4 files changed
+8

No files matched your search

+2
View File
@@ -72,6 +72,8 @@ spec:
value: "{{ .database }}"
- name: POSTGRES_USER
value: "{{ $root.Values.sharedInfra.postgres.username }}"
- name: PGDATA
value: /var/lib/postgresql/data/pgdata
ports:
- name: tcp
containerPort: {{ $root.Values.sharedInfra.postgres.port }}