chore: Update manifests after change
This commit is contained in:
@@ -50,9 +50,14 @@ spec:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: audiobooks
|
||||
- mountPath: /config
|
||||
name: config
|
||||
volumes:
|
||||
- name: audiobooks
|
||||
persistentVolumeClaim:
|
||||
claimName: libation-nfs-storage
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: libation
|
||||
|
||||
@@ -45,9 +45,14 @@ spec:
|
||||
cpu: 10m
|
||||
memory: 32Mi
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: audiobooks
|
||||
- mountPath: /config
|
||||
name: config
|
||||
volumes:
|
||||
- name: audiobooks
|
||||
persistentVolumeClaim:
|
||||
claimName: libation-nfs-storage
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: libation
|
||||
|
||||
40
clusters/cl01tl/manifests/ytdl-sub/ConfigMap-ytdl-sub.yaml
Normal file
40
clusters/cl01tl/manifests/ytdl-sub/ConfigMap-ytdl-sub.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: ytdl-sub
|
||||
labels:
|
||||
app.kubernetes.io/instance: ytdl-sub
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: ytdl-sub
|
||||
helm.sh/chart: ytdl-sub-4.5.0
|
||||
namespace: ytdl-sub
|
||||
data:
|
||||
config.yaml: |
|
||||
configuration:
|
||||
working_directory: /cache
|
||||
|
||||
presets:
|
||||
Music:
|
||||
preset:
|
||||
- "Max MP3 Quality"
|
||||
|
||||
embed_thumbnail: True
|
||||
|
||||
square_thumbnail: True
|
||||
|
||||
throttle_protection:
|
||||
sleep_per_download_s:
|
||||
min: 5
|
||||
max: 15
|
||||
sleep_per_subscription_s:
|
||||
min: 5
|
||||
max: 15
|
||||
max_downloads_per_subscription:
|
||||
min: 1
|
||||
max: 200
|
||||
|
||||
overrides:
|
||||
music_directory: "/music"
|
||||
subscriptions.yaml: |
|
||||
Music:
|
||||
- "https://www.youtube.com/playlist?list=PLtiOoYqxYXtKK3fMya_xhqK0Wit0i10Gy&si=8wNBH-kGT9Nx0XBK" # Music Saved
|
||||
83
clusters/cl01tl/manifests/ytdl-sub/CronJob-ytdl-sub.yaml
Normal file
83
clusters/cl01tl/manifests/ytdl-sub/CronJob-ytdl-sub.yaml
Normal file
@@ -0,0 +1,83 @@
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: ytdl-sub
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: ytdl-sub
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: ytdl-sub
|
||||
helm.sh/chart: ytdl-sub-4.5.0
|
||||
namespace: ytdl-sub
|
||||
spec:
|
||||
suspend: false
|
||||
concurrencyPolicy: Forbid
|
||||
startingDeadlineSeconds: 90
|
||||
timeZone: US/Central
|
||||
schedule: "0 0 1 1 *"
|
||||
successfulJobsHistoryLimit: 1
|
||||
failedJobsHistoryLimit: 1
|
||||
jobTemplate:
|
||||
spec:
|
||||
parallelism: 1
|
||||
backoffLimit: 3
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/configMaps: fe569dcb0775262f67f6e0444f99ab79b8bc7334a7bba3bbdc0fe41c984a70b5
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: ytdl-sub
|
||||
app.kubernetes.io/name: ytdl-sub
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
serviceAccountName: default
|
||||
automountServiceAccountToken: true
|
||||
hostIPC: false
|
||||
hostNetwork: false
|
||||
hostPID: false
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- args:
|
||||
- --dry-run
|
||||
- --config /config/config.yaml
|
||||
- sub /config/subscriptions.yaml
|
||||
command:
|
||||
- ytdl-sub
|
||||
env:
|
||||
- name: TZ
|
||||
value: America/Chicago
|
||||
- name: CRON_RUN_ON_START
|
||||
value: "false"
|
||||
image: ghcr.io/jmbannon/ytdl-sub:2025.12.26
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: main
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- mountPath: /cache
|
||||
name: cache
|
||||
- mountPath: /config/config.yaml
|
||||
mountPropagation: None
|
||||
name: config
|
||||
readOnly: true
|
||||
subPath: config.yaml
|
||||
- mountPath: /config/subscriptions.yaml
|
||||
mountPropagation: None
|
||||
name: config
|
||||
readOnly: true
|
||||
subPath: subscriptions.yaml
|
||||
- mountPath: /music
|
||||
name: music
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: cache
|
||||
- configMap:
|
||||
name: ytdl-sub
|
||||
name: config
|
||||
- name: music
|
||||
persistentVolumeClaim:
|
||||
claimName: ytdl-sub-nfs-storage
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: ytdl-sub-nfs-storage
|
||||
namespace: ytdl-sub
|
||||
labels:
|
||||
app.kubernetes.io/name: ytdl-sub-nfs-storage
|
||||
app.kubernetes.io/instance: ytdl-sub
|
||||
app.kubernetes.io/part-of: ytdl-sub
|
||||
spec:
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: nfs-client
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
nfs:
|
||||
path: /volume2/Storage/Music Youtube/
|
||||
server: synologybond.alexlebens.net
|
||||
mountOptions:
|
||||
- vers=4
|
||||
- minorversion=1
|
||||
- noac
|
||||
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: ytdl-sub-nfs-storage
|
||||
namespace: ytdl-sub
|
||||
labels:
|
||||
app.kubernetes.io/name: ytdl-sub-nfs-storage
|
||||
app.kubernetes.io/instance: ytdl-sub
|
||||
app.kubernetes.io/part-of: ytdl-sub
|
||||
spec:
|
||||
volumeName: ytdl-sub-nfs-storage
|
||||
storageClassName: nfs-client
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
Reference in New Issue
Block a user