From b473b0577b5afe7ebd16f1dfbd1ce124d59ab1bc Mon Sep 17 00:00:00 2001 From: Khwezi Date: Sun, 12 Apr 2026 14:04:21 +0200 Subject: [PATCH] Readded init command and temporary mount point --- kubernetes-templates/semaphoreui.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/kubernetes-templates/semaphoreui.yml b/kubernetes-templates/semaphoreui.yml index 39d356b..f9e18bf 100644 --- a/kubernetes-templates/semaphoreui.yml +++ b/kubernetes-templates/semaphoreui.yml @@ -1,4 +1,4 @@ ---- +--- apiVersion: v1 kind: Namespace metadata: @@ -106,6 +106,14 @@ spec: fsGroup: 1001 fsGroupChangePolicy: "Always" + initContainers: + - name: setup-directory + image: busybox:latest + command: ["sh", "-c", "mkdir -p /mnt/data/.ssh"] + volumeMounts: + - name: semaphore-persistent-storage + mountPath: /mnt/data + containers: - name: semaphore image: semaphoreui/semaphore:latest