From 79cb5a579ec152da052bf86ea4aa4578578b7c6f Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 21 Jan 2026 17:10:46 -0800 Subject: [PATCH] Fix kiwix-serve command to use shell for glob expansion The container image has its own entrypoint that conflicts with passing args directly. Use a shell command to expand the glob properly. Co-Authored-By: Claude Opus 4.5 --- argocd/manifests/kiwix/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/argocd/manifests/kiwix/deployment.yaml b/argocd/manifests/kiwix/deployment.yaml index 1a18983..087a774 100644 --- a/argocd/manifests/kiwix/deployment.yaml +++ b/argocd/manifests/kiwix/deployment.yaml @@ -21,9 +21,9 @@ spec: # Main kiwix-serve container - name: kiwix-serve image: ghcr.io/kiwix/kiwix-serve:3.8.1 + command: ["/bin/sh", "-c"] args: - - --port=80 - - /data/*.zim # Serves ALL .zim files, regardless of how they were added + - "kiwix-serve --port=80 /data/*.zim" ports: - containerPort: 80 name: http