Skip to content

Commit

Permalink
Update osmcha db config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Sep 6, 2023
1 parent 12b389f commit b04f998
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion osm-seed/templates/osmcha-db/osmcha-db-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
containerPort: 5432
protocol: TCP
env:
- name: POSTGRES_HOST
- name: PGHOST
value: {{ .Release.Name }}-osmcha-db
- name: POSTGRES_DB
value: {{ .Values.osmchaDb.env.POSTGRES_DB }}
Expand Down
6 changes: 5 additions & 1 deletion osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,10 @@ osmchaDb:
image:
name: ''
tag: ''
env:
POSTGRES_DB: osmcha-db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: '1234'
resources:
enabled: false
requests:
Expand All @@ -757,7 +761,7 @@ osmchaDb:
persistenceDisk:
enabled: false
accessMode: ReadWriteOnce
mountPath: /db
mountPath: /var/lib/postgresql/data
# Minikube
localVolumeHostPath: /mnt/overpass-api-db-data
localVolumeSize: 10Gi
Expand Down

0 comments on commit b04f998

Please sign in to comment.