From 9d85c59734df8935b1a3e57d583864c9f169acd6 Mon Sep 17 00:00:00 2001 From: anpham Date: Mon, 21 Jul 2025 05:33:02 +0000 Subject: [PATCH] Update 'hommer-deployment.yml' --- hommer-deployment.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hommer-deployment.yml b/hommer-deployment.yml index fe6e3a6..e455cb3 100644 --- a/hommer-deployment.yml +++ b/hommer-deployment.yml @@ -27,7 +27,12 @@ spec: initContainers: - name: git-cloner image: alpine/git:latest - command: ["git", "clone", "https://git.anpham.me/DurianLAB/Homepage-Dashboard.git", "/shared-git-data/Homepage-Dashboard"] + command: + - sh + - -c + - | # <--- This indicates a multi-line string. Indent the lines below it. + rm -rf /shared-git-data/Homepage-Dashboard && \ + git clone https://git.anpham.me/DurianLAB/Homepage-Dashboard.git /shared-git-data/Homepage-Dashboard volumeMounts: - name: git-repo-volume mountPath: /shared-git-data