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
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
|
||||||
name: smb-oldmusic
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Gi
|
|
||||||
storageClassName: smb-oldmusic
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
metadata:
|
||||||
name: logitech-media-server-config
|
name: logitech-media-server-config
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -61,27 +61,14 @@ spec:
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
volumeMounts:
|
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
|
- mountPath: /config
|
||||||
name: config
|
name: config
|
||||||
|
- mountPath: /music
|
||||||
|
name: smbmusic
|
||||||
|
- mountPath: /playlist
|
||||||
|
name: config
|
||||||
|
subPath: playlist
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
schedulerName: default-scheduler
|
schedulerName: default-scheduler
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
|
@ -92,9 +79,6 @@ spec:
|
||||||
- name: smbmusic
|
- name: smbmusic
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: smb-music
|
claimName: smb-music
|
||||||
- name: smboldmusic
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: smb-oldmusic
|
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
partition: 0
|
partition: 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue