diff --git a/base/codeinsights-db/codeinsights-db.Deployment.yaml b/base/codeinsights-db/codeinsights-db.Deployment.yaml index 28c50bc4aeeb..00437c9de868 100644 --- a/base/codeinsights-db/codeinsights-db.Deployment.yaml +++ b/base/codeinsights-db/codeinsights-db.Deployment.yaml @@ -30,6 +30,8 @@ spec: env: - name: POSTGRES_PASSWORD # Accessible by Sourcegraph applications on the network only, so password auth is not used. value: password + - name: PGDATA + value: /var/lib/postgresql/data/pgdata terminationMessagePolicy: FallbackToLogsOnError ports: - containerPort: 5432 @@ -42,7 +44,7 @@ spec: cpu: "4" memory: 2Gi volumeMounts: - - mountPath: /data + - mountPath: /var/lib/postgresql/data/ name: disk - mountPath: /conf name: timescaledb-conf