initcontainer setup media pvc

This commit is contained in:
2023-12-08 21:32:06 -05:00
parent 493eb40a6d
commit e859789acb

View File

@@ -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: