Skip to content

Commit

Permalink
Add env var for LOG_STATEMENT
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed May 15, 2024
1 parent 7dd2a0e commit dc2b651
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osm-seed/templates/db/db-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ spec:
value: {{ .Values.db.persistenceDisk.mountPath }}
- name: POD_IP
valueFrom: { fieldRef: { fieldPath: status.podIP } }
- name: LOG_STATEMENT
value: {{ default "none" .Values.db.env.LOG_STATEMENT | quote }}
livenessProbe:
exec:
command:
Expand Down
2 changes: 2 additions & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ db:
POSTGRES_DB: openstreetmap
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 1234
LOG_STATEMENT: "all"
# LOG_STATEMENT=all, ddl, mod
persistenceDisk:
enabled: false
mountPath: /var/lib/postgresql/data
Expand Down

0 comments on commit dc2b651

Please sign in to comment.