Skip to content

Commit eb2c8ae

Browse files
committed
postgresql.extraArgs
1 parent b2222fd commit eb2c8ae

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

hosting/k8s/helm/templates/postgresql.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ spec:
5050
args:
5151
- "-c"
5252
- "wal_level=logical"
53+
{{- with .Values.postgresql.extraArgs }}
54+
{{- toYaml . | nindent 12 }}
55+
{{- end }}
5356
livenessProbe:
5457
exec:
5558
command:

hosting/k8s/helm/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@ postgresql:
196196
[]
197197
# - name: CUSTOM_VAR
198198
# value: "custom-value"
199+
# Extra command line arguments for PostgreSQL
200+
extraArgs:
201+
[]
202+
# - "-c"
203+
# - "log_statement=all"
204+
# - "-c"
205+
# - "max_slot_wal_keep_size=1000000000"
199206

200207
# Redis configuration
201208
redis:

0 commit comments

Comments
 (0)