Skip to content

Commit

Permalink
Added subpath to database volumemount to prevent GKE conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperclaw79 committed Sep 16, 2023
1 parent 93f4324 commit 1604114
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions k8s/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
volumeMounts:
- name: postgres-data
mountPath: /var/lib/postgresql/data
subPath: postgres
- name: init-script
mountPath: /docker-entrypoint-initdb.d
resources:
Expand Down

0 comments on commit 1604114

Please sign in to comment.