Add command when specifying args for postgres (#1765)

When using args the container defaults to the entrypoint instead of command

causing postgres to be in a crashloop
This commit is contained in:
Hao Liu
2024-03-13 15:16:05 -04:00
committed by GitHub
parent a53a10ad33
commit 6e31feaa20

View File

@@ -56,6 +56,7 @@ spec:
{{ postgres_security_context_settings | to_nice_yaml | indent(12) }} {{ postgres_security_context_settings | to_nice_yaml | indent(12) }}
{% endif %} {% endif %}
{% if postgres_extra_args %} {% if postgres_extra_args %}
command: ["run-postgresql"]
args: {{ postgres_extra_args }} args: {{ postgres_extra_args }}
{% endif %} {% endif %}
env: env: