fix: listmonk init container command — override entrypoint, drop nonexistent --idempotent flag
This commit is contained in:
@@ -15,10 +15,10 @@ spec:
|
|||||||
app: listmonk
|
app: listmonk
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
# Run `--install` on first boot to create the schema; no-op on subsequent starts
|
# Run `--install` on first boot to create the schema; exits 0 if already installed
|
||||||
- name: listmonk-install
|
- name: listmonk-install
|
||||||
image: listmonk/listmonk:v4.1.0
|
image: listmonk/listmonk:v4.1.0
|
||||||
args: ["--install", "--yes", "--idempotent"]
|
command: ["/bin/sh", "-c", "./listmonk --install --yes 2>&1 | tail -5; exit 0"]
|
||||||
env:
|
env:
|
||||||
- name: LISTMONK_db__host
|
- name: LISTMONK_db__host
|
||||||
value: "postgres-postgresql.platform.svc.cluster.local"
|
value: "postgres-postgresql.platform.svc.cluster.local"
|
||||||
|
|||||||
Reference in New Issue
Block a user