Merge pull request 'Changed semaphore group policy' (#33) from dev into main

Reviewed-on: #33
This commit was merged in pull request #33.
This commit is contained in:
2026-04-12 13:45:08 +02:00

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