From e788fd48fd1a804b3a1721fb99b9a1efb3fff4b3 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Sat, 4 Apr 2026 18:46:09 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20listmonk=20init=20container=20command=20?= =?UTF-8?q?=E2=80=94=20override=20entrypoint,=20drop=20nonexistent=20--ide?= =?UTF-8?q?mpotent=20flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- servers/legion/k8s/listmonk/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/legion/k8s/listmonk/deployment.yaml b/servers/legion/k8s/listmonk/deployment.yaml index d780e05..eeb4e6e 100644 --- a/servers/legion/k8s/listmonk/deployment.yaml +++ b/servers/legion/k8s/listmonk/deployment.yaml @@ -15,10 +15,10 @@ spec: app: listmonk spec: 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 image: listmonk/listmonk:v4.1.0 - args: ["--install", "--yes", "--idempotent"] + command: ["/bin/sh", "-c", "./listmonk --install --yes 2>&1 | tail -5; exit 0"] env: - name: LISTMONK_db__host value: "postgres-postgresql.platform.svc.cluster.local"