Skip to content
Open
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
5 changes: 5 additions & 0 deletions charts/pgcat/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ spec:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: LOG_LEVEL
value: {{ .Values.configuration.general.log_level }}
- name: LOG_FORMAT
value: {{ .Values.configuration.general.log_format }}
ports:
- name: pgcat
containerPort: {{ .Values.configuration.general.port }}
Expand Down
6 changes: 6 additions & 0 deletions charts/pgcat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ configuration:
# @param configuration.general.log_client_disconnections If we should log client disconnections
log_client_disconnections: false

# @param configuration.general.log_level Default log level
log_level: "INFO"

# @param configuration.general.log_format Log format, possible values: text, structured, debug
log_format: "text"

# TLS
# tls_certificate: "server.cert"
# tls_private_key: "server.key"
Expand Down
Loading