Commit 7ca51376 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

don't sql log statement

parent dbcb1fa3
Pipeline #80330 passed with stages
in 8 minutes and 16 seconds
......@@ -26,12 +26,14 @@ spec:
{{ end }}
postgresql:
version: {{ .Values.postgresql.version | quote }}
{{- if .Values.postgresql.parameters }}
{{- with .Values.postgresql.parameters }}
{{- if . }}
parameters: # Expert section
shared_buffers: {{ .Values.postgresql.parameters.shared_buffers | quote }}
max_connections: {{ .Values.postgresql.parameters.max_connections | quote }}
log_statement: {{ .Values.postgresql.parameters.log_statement | quote }}
{{ end }}
{{ if .shared_buffers }}shared_buffers: {{ .shared_buffers | quote }}{{ end }}
{{ if .max_connections }}max_connections: {{ .max_connections | quote }}{{ end }}
{{ if .log_statement }}log_statement: {{ .log_statement | quote }}{{ end }}
{{- end }}
{{- end }}
volume:
size: {{ .Values.postgresql.volume.size | quote }}
storageClass: {{ .Values.postgresql.volume.storageClass | quote }}
......
......@@ -115,9 +115,9 @@ postgresql:
# preparedDatabases:
# extensions: {}
parameters:
shared_buffers: 512Mi
max_connections: 100
log_statement: all
# shared_buffers: 512Mi
# max_connections: 99
log_statement: none
volume:
size: 20Gi
storageClass: isilon
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment