fix: listmonk init container command — override entrypoint, drop nonexistent --idempotent flag

This commit is contained in:
Will Anderson
2026-04-04 18:46:09 -05:00
parent bf40bd7f15
commit e788fd48fd
+2 -2
View File
@@ -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"