Commit 115b0087835541ce4a9ece09b7d43d8ad4080691
Committed by
GitHub
Merge pull request #1579 from foobarto/master
Fix postgres deployment on GKE
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -55,6 +55,8 @@ spec: | @@ -55,6 +55,8 @@ spec: | ||
55 | env: | 55 | env: |
56 | - name: POSTGRES_DB | 56 | - name: POSTGRES_DB |
57 | value: "thingsboard" | 57 | value: "thingsboard" |
58 | + - name: PGDATA | ||
59 | + value: /var/lib/postgresql/data/pgdata | ||
58 | volumeMounts: | 60 | volumeMounts: |
59 | - mountPath: /var/lib/postgresql/data | 61 | - mountPath: /var/lib/postgresql/data |
60 | name: postgres-data | 62 | name: postgres-data |