Readded init command and temporary mount point
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
@@ -106,6 +106,14 @@ spec:
|
|||||||
fsGroup: 1001
|
fsGroup: 1001
|
||||||
fsGroupChangePolicy: "Always"
|
fsGroupChangePolicy: "Always"
|
||||||
|
|
||||||
|
initContainers:
|
||||||
|
- name: setup-directory
|
||||||
|
image: busybox:latest
|
||||||
|
command: ["sh", "-c", "mkdir -p /mnt/data/.ssh"]
|
||||||
|
volumeMounts:
|
||||||
|
- name: semaphore-persistent-storage
|
||||||
|
mountPath: /mnt/data
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: semaphore
|
- name: semaphore
|
||||||
image: semaphoreui/semaphore:latest
|
image: semaphoreui/semaphore:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user