Changed semaphore group policy
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user