Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: pgdog
version: v0.46
appVersion: "0.1.30"
version: v0.47
appVersion: "0.1.32"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ of snake_case, for example: `checkout_timeout` becomes
workers: 2
defaultPoolSize: 15
openMetricsPort: 9090
logFormat: json
logLevel: info
```

### Docker Image
Expand Down
2 changes: 2 additions & 0 deletions templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ data:
port = {{ include "pgdog.intval" .Values.port }}
workers = {{ include "pgdog.intval" (.Values.workers | default 2) }}
default_pool_size = {{ include "pgdog.intval" (.Values.defaultPoolSize | default 10) }}
log_format = {{ .Values.logFormat | default "text" | quote }}
log_level = {{ .Values.logLevel | default "info" | quote }}
{{- if hasKey .Values "minPoolSize" }}
min_pool_size = {{ include "pgdog.intval" .Values.minPoolSize }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions test/values-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ memoryMessageBuffer: 8192
memoryStackSize: 2097152
port: 6432
healthcheckPort: 8080
logFormat: json
logLevel: debug


databases:
- name: primary
Expand Down
23 changes: 23 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,29 @@ openMetricsPort: 9090
# openMetricsNamespace configures the metrics namespace
openMetricsNamespace: pgdog_


# logOutput defines the output format of the logs.
#
# Available options:
# - text
# - json
#
# Defaults to `text`.
logFormat: text

# logLevel defines the log level using the same syntax as RUST_LOG.
#
# Available options:
# - error
# - warn
# - info
# - debug
# - trace
# - off
#
# Defaults to `info`.
logLevel: "info"

# Admin password
# adminPassword: change-me

Expand Down
Loading