Add certs;Add volume for dronerunner;Lidarr++

This commit is contained in:
Danny Bessems 2021-01-13 09:38:26 +01:00
parent cb92b86e38
commit 75801a3db6
3 changed files with 73 additions and 9 deletions

View File

@ -32,6 +32,11 @@ data:
- main: '*.bessems.eu'
sans:
- 'bessems.eu'
- main: 'bv11-vc01.intra.bessems.eu'
sans:
- 'bv11-gw01.intra.bessems.eu'
- 'bv11-vpn.intra.bessems.eu'
- 'bv11-esx.intra.bessems.eu'
- main: '*.gabaldon.eu'
sans:
- 'gabaldon.eu'

View File

@ -77,6 +77,9 @@ spec:
- name: DRONE_RPC_PROTO
value: 'https'
volumes:
- name: flexvolsmb-drone-output
persistentVolumeClaim:
claimName: flexvolsmb-drone-output
- name: flexvolsmb-drone-data
persistentVolumeClaim:
claimName: flexvolsmb-drone-data
@ -140,31 +143,31 @@ spec:
apiVersion: v1
kind: PersistentVolume
metadata:
name: flexvolsmb-drone-certs
name: flexvolsmb-drone-output
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-drone-certs
storageClassName: flexvolsmb-drone-output
flexVolume:
driver: mount/smb
secretRef:
name: smb-secret
options:
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8,nobrl
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8
server: 192.168.11.225
share: /K3s.Volumes/traefikcertsdumper/export
share: /K3s.Volumes/lighttpd/websites/sn.itch.fyi/Repository/rel
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: flexvolsmb-drone-certs
name: flexvolsmb-drone-output
namespace: default
spec:
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-drone-certs
storageClassName: flexvolsmb-drone-output
resources:
requests:
storage: 1Gi

View File

@ -30,8 +30,7 @@ spec:
spec:
containers:
- name: lidarr
# image: registry.spamasaurus.com/proxy/linuxserver/lidarr:nightly
image: linuxserver/lidarr:nightly
image: bv11-cr01.bessems.eu/proxy/linuxserver/lidarr:nightly
ports:
- name: web
containerPort: 8686
@ -40,13 +39,37 @@ spec:
name: flexvolsmb-lidarr-config
- mountPath: /songs
name: flexvolsmb-pvr-songs
- mountPath: /downloads
- mountPath: /downloads-amd
name: smb-pvr-volatile
subPath: downloads
- name: amd
image: bv11-cr01.bessems.eu/library/automatedmusicdownloader
env:
- name: AUTOSTART
value: 'true'
- name: FORMAT
value: MP3
- name: BITRATE
value: '320'
- name: LidarrUrl
value: http://lidarr.pvr.svc.cluster.local:8686
- name: LidarrAPIkey
value: 1e11c5d649ab4c70b3f91792bc91821b
- name: ARL_TOKEN
value: f173fa3b790a1fe0f7c89f2ed99efefc64e66ddb2f9e9cc397b780bdd567d256788039f1c27c5e1dd59511d93e721b3d84fa90767aafb77ed619fb05dd9123e4fd3cdaaefb5f237b1aedcec595f65eb419ee55a5df82ce3d3e658bbbb624e21e
volumeMounts:
- mountPath: /config
name: flexvolsmb-lidarr-amd
- mountPath: /downloads-amd
name: smb-pvr-volatile
subPath: downloads
volumes:
- name: flexvolsmb-lidarr-config
persistentVolumeClaim:
claimName: flexvolsmb-lidarr-config
- name: flexvolsmb-lidarr-amd
persistentVolumeClaim:
claimName: flexvolsmb-lidarr-amd
- name: flexvolsmb-pvr-songs
persistentVolumeClaim:
claimName: flexvolsmb-pvr-songs
@ -113,3 +136,36 @@ spec:
resources:
requests:
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: flexvolsmb-lidarr-amd
namespace: pvr
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-lidarr-amd
flexVolume:
driver: mount/smb
secretRef:
name: smb-secret
options:
opts: domain=bessems.eu,file_mode=0666,dir_mode=0766,uid=911,gid=911,iocharset=utf8
server: 192.168.11.225
share: /K3s.Volumes/lidarr/amd
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: flexvolsmb-lidarr-amd
namespace: pvr
spec:
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-lidarr-amd
resources:
requests:
storage: 1Gi