From b02014185deff0a189d7e1639197a667e81f18ae Mon Sep 17 00:00:00 2001 From: anpham Date: Mon, 14 Jul 2025 04:28:23 +0000 Subject: [PATCH] Update 'hommer-deployment.yml' --- hommer-deployment.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/hommer-deployment.yml b/hommer-deployment.yml index 55d3049..d9ea4e0 100644 --- a/hommer-deployment.yml +++ b/hommer-deployment.yml @@ -1,4 +1,3 @@ ---- apiVersion: apps/v1 kind: Deployment metadata: @@ -23,17 +22,19 @@ spec: initContainers: - name: git-cloner image: alpine/git:latest - commad: ["git", "clone", "https://git.anpham.me/DurianLAB/Homepage-Dashboard.git", "/repo"] + # FIX 1: Change 'commad' to 'command' + command: ["git", "clone", "https://git.anpham.me/DurianLAB/Homepage-Dashboard.git", "/repo"] volumeMounts: - name: git-repo-volume - mountpath: /repo + # FIX 2: Change 'mountpath' to 'mountPath' + mountPath: /repo - containers: + containers: - name: hommer image: b4bz/homer:v23.09.1 volumeMounts: - name: git-repo-volume - mountPath: /www + mountPath: /www # Homer's default config directory is usually /app/config or similar, not /www. You might need to adjust this. ports: - containerPort: 8080 --- @@ -46,6 +47,4 @@ spec: app: hommer ports: - port: 82 - targetPort: 8080 - - + targetPort: 8080 \ No newline at end of file