helm / charts

⚠️(OBSOLETE) Curated applications for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostgreSQL Pod ends in CrashLoopBackOff (adding SQL statement in initDBScript)

roere opened this issue · comments

commented

Describe the bug
Primary Pod (using 2 replicas) ends in CrashLoopBackOff, if I commit more than one SQL statement in initDBScripts. One statement always runs through smoothly, both with psql - f [file] or psql -c [statement] or with a [name].sql script.
CLI with e.g. "createuser" or "createdb" are without problems, can be more then one.

Version of Helm and Kubernetes:
Helm: 3.5.4, Kubernetes 1.21

Which chart:
11.11.0

What happened:
CrashLoopBackOff

What you expected to happen:
Pod to start flawless

How to reproduce it (as minimally and precisely as possible):
see "Describe the Bug"

Anything else we need to know: