From 2065d69a80ce851d999d44e5cdc94e2fa6e4ab72 Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Mon, 6 Oct 2025 15:01:29 +0200 Subject: [PATCH] turns out busybox copy has different command line options. --- argocd/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index 15f37b4..aea8d43 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -19,7 +19,7 @@ spec: initContainers: - name: loader image: git.baumann.gr/adebaumann/vgui-data-loader:0.5 - command: [ "sh","-c","cp -n /preload.sqlite3 /data/db.sqlite3; chown -R 999:999 /data; ls -la /data; sleep 60; exit 0" ] + command: [ "sh","-c","cp -n preload/preload.sqlite3 /data/db.sqlite3; chown -R 999:999 /data; ls -la /data; sleep 10; exit 0" ] volumeMounts: - name: data mountPath: /data