Changed semaphore group policy

This commit is contained in:
Khwezi
2026-04-12 13:44:44 +02:00
parent 66f476e746
commit c6a3b4c473

View File

@@ -70,21 +70,10 @@ spec:
hostnames: hostnames:
- "gitea.khongisa.co.za" - "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: securityContext:
runAsUser: 1001 runAsUser: 1001
fsGroup: 1001 fsGroup: 1001
fsGroupChangePolicy: "Always"
containers: containers:
- name: semaphore - name: semaphore