Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iPPIDB
ippidb-web
Commits
7ca51376
Commit
7ca51376
authored
Apr 22, 2022
by
Bryan BRANCOTTE
Browse files
don't sql log statement
parent
dbcb1fa3
Pipeline
#80330
passed with stages
in 8 minutes and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
chart/templates/deployment-postgres.yaml
View file @
7ca51376
...
...
@@ -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
}}
...
...
chart/values.yaml
View file @
7ca51376
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment