diff --git a/kubernetes-templates/semaphoreui.yml b/kubernetes-templates/semaphoreui.yml index d0c36e5..8303bc4 100644 --- a/kubernetes-templates/semaphoreui.yml +++ b/kubernetes-templates/semaphoreui.yml @@ -70,21 +70,10 @@ spec: hostnames: - "gitea.khongisa.co.za" - initContainers: - - name: volume-permissions - image: busybox:latest - command: ["sh", "-c", "mkdir -p /home/semaphore/.ssh && chown -R 1001:1001 /home/semaphore /tmp/semaphore"] - volumeMounts: - - name: semaphore-persistent-storage - mountPath: /home/semaphore - subPath: home - - name: semaphore-persistent-storage - mountPath: /tmp/semaphore - subPath: tmp - securityContext: runAsUser: 1001 fsGroup: 1001 + fsGroupChangePolicy: "Always" containers: - name: semaphore