Add ability to configure extra args for postgres

* add default extra args postgres

* add postgres_extra_args option to readme
This commit is contained in:
chris93111
2021-10-10 16:00:06 +02:00
committed by Christian M. Adams
parent a2222a9176
commit 0f07a475b5
3 changed files with 10 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ spec:
- image: '{{ _postgres_image }}'
imagePullPolicy: '{{ image_pull_policy }}'
name: postgres
{% if postgres_extra_args %}
args: {{ postgres_extra_args }}
{% endif %}
env:
# For postgres_image based on rhel8/postgresql-12
- name: POSTGRESQL_DATABASE