Skip to content

Commit

Permalink
Add command when specifying args for postgres
Browse files Browse the repository at this point in the history
When using args the container defaults to the entrypoint instead of command

causing postgres to be in a crashloop
  • Loading branch information
TheRealHaoLiu committed Mar 13, 2024
1 parent a53a10a commit ecc4ddb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/installer/templates/statefulsets/postgres.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ spec:
{{ postgres_security_context_settings | to_nice_yaml | indent(12) }}
{% endif %}
{% if postgres_extra_args %}
command: ["run-postgresql"]
args: {{ postgres_extra_args }}
{% endif %}
env:
Expand Down

0 comments on commit ecc4ddb

Please sign in to comment.