Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit a8154ef

Browse files
Merge pull request #63 from carmark/volume
correct the postgres and redis's volume mount path
2 parents 81b3be5 + 8ab9398 commit a8154ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kubernetes/postgres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
name: postgresql
5656
volumeMounts:
5757
- name: postgresql
58-
mountPath: /var/lib/postgresql
58+
mountPath: /var/lib/postgresql/data
5959
volumes:
6060
- name: postgresql
6161
persistentVolumeClaim:

kubernetes/redis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
name: redis
5050
volumeMounts:
5151
- name: redis
52-
mountPath: /var/lib/redis
52+
mountPath: /data
5353
volumes:
5454
- name: redis
5555
persistentVolumeClaim:

0 commit comments

Comments
 (0)