mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 04:59:54 +00:00
initcontainer setup media pvc
This commit is contained in:
@@ -50,6 +50,13 @@ spec:
|
||||
name: data
|
||||
- mountPath: /config
|
||||
name: config
|
||||
initContainers:
|
||||
- name: init-media-filesystem
|
||||
image: busybox
|
||||
command: ['sh', '-c', 'mkdir -p /data/{downloads,media}/{movies,music,books,tv}']
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: data
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 30
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user