Allow overriding some critical postgre parameters

Ideally, this would completely own the postgresql.conf file that
is autogenerated by the container.  This should not be done without
further deliberation though on what impact that may have. For now,
this allows some critical items to be manipulated at installation
time but does not meet the full need of complete configuration
flexibility.

Change-Id: I94fd3ac42398f8114c0b5c8b4ef0a6a96e530f96
This commit is contained in:
Alan Meadows 2018-06-26 12:05:40 -07:00
parent e8f561127f
commit 468d99620f
2 changed files with 6 additions and 1 deletions

View File

@ -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 }}

View File

@ -93,6 +93,11 @@ dependencies:
- endpoint: internal
service: local_image_registry
conf:
postgresql:
max_connections: 100
shared_buffers: 128MB
secrets:
postgresql:
admin: postgresql-admin