Skip to content

Commit

Permalink
fix: add subpath for offpg (#342)
Browse files Browse the repository at this point in the history
(cherry picked from commit cdd746a)
  • Loading branch information
kizuna-lek authored and ahjing99 committed Mar 8, 2024
1 parent b0bc35d commit 42bed33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/official-postgresql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ spec:
mountPath: /dev/shm
- name: data
mountPath: /var/lib/postgresql/data
subPath: data
- name: postgresql-config
mountPath: /var/lib/postgresql/conf
- name: scripts
Expand All @@ -86,7 +87,7 @@ spec:
apiVersion: v1
fieldPath: metadata.namespace
- name: PGDATA
value: /var/lib/postgresql/data
value: /var/lib/postgresql/data/data
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 42bed33

Please sign in to comment.