New container, new path. irritating. Oh well, cleanup too.
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
1610d11112
commit
6dab365801
2 changed files with 6 additions and 34 deletions
|
@ -12,18 +12,6 @@ spec:
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: smb-oldmusic
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: smb-oldmusic
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: logitech-media-server-config
|
||||
spec:
|
||||
|
|
|
@ -61,27 +61,14 @@ spec:
|
|||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
volumeMounts:
|
||||
- mountPath: /srv/squeezebox
|
||||
name: config
|
||||
- mountPath: /smbmusic
|
||||
name: smbmusic
|
||||
- mountPath: /smboldmusic
|
||||
name: smboldmusic
|
||||
dnsPolicy: ClusterFirst
|
||||
initContainers:
|
||||
- command:
|
||||
- sh
|
||||
- -c
|
||||
- mkdir /smbmusic; mkdir -pv /config/playlists /config/config; chown -Rc 1000:1000
|
||||
/config
|
||||
image: doliana/logitech-media-server:2023_04_15-8.3.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: init-config
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config
|
||||
- mountPath: /music
|
||||
name: smbmusic
|
||||
- mountPath: /playlist
|
||||
name: config
|
||||
subPath: playlist
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
|
@ -92,9 +79,6 @@ spec:
|
|||
- name: smbmusic
|
||||
persistentVolumeClaim:
|
||||
claimName: smb-music
|
||||
- name: smboldmusic
|
||||
persistentVolumeClaim:
|
||||
claimName: smb-oldmusic
|
||||
updateStrategy:
|
||||
rollingUpdate:
|
||||
partition: 0
|
||||
|
|
Loading…
Add table
Reference in a new issue