diff --git a/postgresql/templates/bin/_start.sh.tpl b/postgresql/templates/bin/_start.sh.tpl index 5419fe36fc..b00264d4da 100644 --- a/postgresql/templates/bin/_start.sh.tpl +++ b/postgresql/templates/bin/_start.sh.tpl @@ -18,4 +18,4 @@ limitations under the License. set -ex -exec /docker-entrypoint.sh postgres +exec /docker-entrypoint.sh postgres -N {{ .Values.conf.postgresql.max_connections }} -B {{ .Values.conf.postgresql.shared_buffers }} diff --git a/postgresql/values.yaml b/postgresql/values.yaml index d7b8c85edb..f059fcde6b 100644 --- a/postgresql/values.yaml +++ b/postgresql/values.yaml @@ -93,6 +93,11 @@ dependencies: - endpoint: internal service: local_image_registry +conf: + postgresql: + max_connections: 100 + shared_buffers: 128MB + secrets: postgresql: admin: postgresql-admin