diff --git a/osm-seed/templates/db/db-statefulset.yaml b/osm-seed/templates/db/db-statefulset.yaml index 6c5afe0c..5320f969 100644 --- a/osm-seed/templates/db/db-statefulset.yaml +++ b/osm-seed/templates/db/db-statefulset.yaml @@ -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: diff --git a/osm-seed/values.yaml b/osm-seed/values.yaml index afd37fa8..aba0c623 100644 --- a/osm-seed/values.yaml +++ b/osm-seed/values.yaml @@ -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