Changed semaphore group policy #33
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user