feat(libreddit, youtubedl-material): add libreddit and youtubedl-material (#3000)

* feat(libreddit): add libreddit

* add probes

* bools

* feat(youtubedl-material): add youtubedl-material

* add questions

* try root

* debug

* comment out

* try again

* try local

* new digest

* enable mongo again

* full root

* puid 1000 same as container

* different db name

* try rootless now

* user 1000

* back to root
This commit is contained in:
Stavros Kois 2022-06-28 10:17:56 +03:00 committed by GitHub
parent 0c21e3c288
commit 5980db52b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 1153 additions and 0 deletions

View File

@ -0,0 +1,28 @@
apiVersion: v2
appVersion: "10.6.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.1.4
description: An alternative private front-end to Reddit
home: https://github.com/truecharts/apps/tree/master/charts/stable/libreddit
icon: https://truecharts.org/_static/img/appicons/libreddit.png
keywords:
- reddit
- libreddit
- social
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: libreddit
sources:
- https://github.com/spikecodes/libreddit
- https://hub.docker.com/r/spikecodes/libreddit
version: 0.0.1
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,369 @@
# Include{groups}
portals:
open:
protocols:
- "$kubernetes-resource_configmap_portal_protocol"
host:
- "$kubernetes-resource_configmap_portal_host"
ports:
- "$kubernetes-resource_configmap_portal_port"
questions:
- variable: portal
group: "Container Image"
label: "Configure Portal Button"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: "Enable"
description: "enable the portal button"
schema:
hidden: true
editable: false
type: boolean
default: true
# Include{global}
- variable: controller
group: "Controller"
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: advanced
label: "Show Advanced Controller Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: type
description: "Please specify type of workload to deploy"
label: "(Advanced) Controller Type"
schema:
type: string
default: "deployment"
required: true
enum:
- value: "deployment"
description: "Deployment"
- value: "statefulset"
description: "Statefulset"
- value: "daemonset"
description: "Daemonset"
- variable: replicas
description: "Number of desired pod replicas"
label: "Desired Replicas"
schema:
type: int
default: 1
required: true
- variable: strategy
description: "Please specify type of workload to deploy"
label: "(Advanced) Update Strategy"
schema:
type: string
default: "RollingUpdate"
required: true
enum:
- value: "Recreate"
description: "Recreate: Kill existing pods before creating new ones"
- value: "RollingUpdate"
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: lbreddit
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: theme
label: "Default Theme"
schema:
type: string
default: "system"
enum:
- value: "system"
description: "system"
- value: "light"
description: "light"
- value: "dark"
description: "dark"
- value: "black"
description: "black"
- value: "dracula"
description: "dracula"
- value: "nord"
description: "nord"
- value: "laserwave"
description: "laserwave"
- value: "violet"
description: "violet"
- value: "gold"
description: "gold"
- value: "rosebox"
description: "rosebox"
- variable: front_page
label: "Front Page"
schema:
type: string
default: "default"
enum:
- value: "default"
description: "default"
- value: "popular"
description: "popular"
- value: "all"
description: "all"
- variable: layout
label: "Layout"
schema:
type: string
default: "card"
enum:
- value: "card"
description: "card"
- value: "clean"
description: "clean"
- value: "compact"
description: "compact"
- variable: post_sort
label: "Post Sort"
schema:
type: string
default: "hot"
enum:
- value: "hot"
description: "hot"
- value: "new"
description: "new"
- value: "top"
description: "top"
- value: "rising"
description: "rising"
- value: "controversial"
description: "controversial"
- variable: comment_sort
label: "Comment Sort"
schema:
type: string
default: "confidence"
enum:
- value: "confidence"
description: "confidence"
- value: "top"
description: "top"
- value: "new"
description: "new"
- value: "controversial"
description: "controversial"
- value: "old"
description: "old"
- variable: wide
label: "Wide"
schema:
type: boolean
default: false
- variable: show_nsfw
label: "Show NSFW"
schema:
type: boolean
default: false
- variable: use_hls
label: "Use HLS"
schema:
type: boolean
default: false
- variable: hide_hls_notification
label: "Hide HLS Notification"
schema:
type: boolean
default: false
- variable: autoplay_videos
label: "Auto Play Videos"
schema:
type: boolean
default: false
# Include{containerConfig}
- variable: service
group: "Networking and Services"
label: "Configure Service(s)"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: main
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10252
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "HTTP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 8080
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: hostNetwork
group: "Networking and Services"
label: "Host-Networking (Complicated)"
schema:
type: boolean
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
- variable: ingress
label: ""
group: "Ingress"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList}
# Include{security}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: true
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: true
# Include{securityContextAdvanced}
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}

View File

@ -0,0 +1 @@
{{ include "tc.common.loader.all" . }}

View File

@ -0,0 +1,50 @@
image:
repository: spikecodes/libreddit
tag: latest@sha256:864924575f9f7e250981978508ccd374c0105d0038af41f7a3d8a3f96b0c264f
pullPolicy: IfNotPresent
libreddit:
theme: system
front_page: default
layout: card
post_sort: hot
comment_sort: confidence
wide: false
show_nsfw: false
use_hls: false
hide_hls_notification: false
autoplay_videos: false
probes:
liveness:
path: "/settings"
readiness:
path: "/settings"
startup:
path: "/settings"
service:
main:
ports:
main:
port: 10252
targetPort: 8080
configmap:
libreddit:
enabled: true
data:
LIBREDDIT_DEFAULT_THEME: "{{ .Values.libreddit.theme }}"
LIBREDDIT_DEFAULT_FRONT_PAGE: "{{ .Values.libreddit.front_page }}"
LIBREDDIT_DEFAULT_LAYOUT: "{{ .Values.libreddit.layout }}"
LIBREDDIT_DEFAULT_POST_SORT: "{{ .Values.libreddit.post_sort }}"
LIBREDDIT_DEFAULT_COMMENT_SORT: "{{ .Values.libreddit.comment_sort }}"
LIBREDDIT_DEFAULT_WIDE: "{{ ternary \"on\" \"off\" .Values.libreddit.wide }}"
LIBREDDIT_DEFAULT_SHOW_NSFW: "{{ ternary \"on\" \"off\" .Values.libreddit.show_nsfw }}"
LIBREDDIT_DEFAULT_USE_HLS: "{{ ternary \"on\" \"off\" .Values.libreddit.use_hls }}"
LIBREDDIT_DEFAULT_HIDE_HLS_NOTIFICATION: "{{ ternary \"on\" \"off\" .Values.libreddit.hide_hls_notification }}"
LIBREDDIT_DEFAULT_AUTOPLAY_VIDEOS: "{{ ternary \"on\" \"off\" .Values.libreddit.autoplay_videos }}"
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-libreddit'

View File

@ -0,0 +1,30 @@
apiVersion: v2
appVersion: "6.28"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.1.4
- condition: mongodb.enabled
name: mongodb
repository: https://charts.truecharts.org
version: 1.0.18
description: YoutubeDL-Material is a Material Design frontend for youtube-dl.
home: https://github.com/truecharts/apps/tree/master/charts/stable/youtubedl-material
icon: https://truecharts.org/_static/img/appicons/youtubedl-material.png
keywords:
- youtube
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: youtubedl-material
sources:
- https://hub.docker.com/r/tzahi12345/youtubedl-material
- https://github.com/Tzahi12345/YoutubeDL-Material
version: 0.0.1
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,582 @@
# Include{groups}
portals:
open:
protocols:
- "$kubernetes-resource_configmap_portal_protocol"
host:
- "$kubernetes-resource_configmap_portal_host"
ports:
- "$kubernetes-resource_configmap_portal_port"
questions:
- variable: portal
group: "Container Image"
label: "Configure Portal Button"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: "Enable"
description: "enable the portal button"
schema:
hidden: true
editable: false
type: boolean
default: true
# Include{global}
- variable: controller
group: "Controller"
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: advanced
label: "Show Advanced Controller Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: type
description: "Please specify type of workload to deploy"
label: "(Advanced) Controller Type"
schema:
type: string
default: "deployment"
required: true
enum:
- value: "deployment"
description: "Deployment"
- value: "statefulset"
description: "Statefulset"
- value: "daemonset"
description: "Daemonset"
- variable: replicas
description: "Number of desired pod replicas"
label: "Desired Replicas"
schema:
type: int
default: 1
required: true
- variable: strategy
description: "Please specify type of workload to deploy"
label: "(Advanced) Update Strategy"
schema:
type: string
default: "Recreate"
required: true
enum:
- value: "Recreate"
description: "Recreate: Kill existing pods before creating new ones"
- value: "RollingUpdate"
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: mainsettings
label: "Main Settings"
schema:
type: boolean
default: true
show_subquestions_if: true
subquestions:
- variable: ytdl_url
label: "URL"
description: "URL for the frontend"
schema:
type: string
default: ""
- variable: ytdl_multi_user_mode
label: "Multi User Mode"
description: "Allows creation of users (with their own files), roles, and permissions"
schema:
type: boolean
default: false
- variable: ytdl_allow_subscriptions
label: "Allow Subscriptions"
description: "Allows subscribing to channels"
schema:
type: boolean
default: true
- variable: ytdl_subscriptions_check_interval
label: "Subscriptions Check Interval"
description: "Amount of time between cycling through all subscriptions."
schema:
type: int
default: 86400
- variable: ytdl_subscriptions_redownload_fresh_uploads
label: "Subscriptions Redownload Fresh Uploads"
description: "Checks day-old or newer videos in a subscription to see if a higher quality one exists. If it does, it's downloaded."
schema:
type: boolean
default: false
- variable: ytdl_allow_theme_change
label: "Allow Theme Change"
description: "Allows the theme to be changed by hitting the 3 dots in the top right corner"
schema:
type: boolean
default: true
- variable: ytdl_default_theme
label: "Default Theme"
description: "Sets the default theme."
schema:
type: string
default: "default"
enum:
- value: "default"
description: "default"
- value: "dark"
description: "dark"
- variable: extrasettigns
label: "Extra Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_title_top
label: "Title Top"
description: "Sets the top bar and browser tab title."
schema:
type: string
default: "YoutubeDL-Material"
- variable: ytdl_file_manager_enabled
label: "Enable File Manager"
description: "Enables file management in the home screen."
schema:
type: boolean
default: true
- variable: ytdl_enable_downloads_manager
label: "Enable Download Manager"
description: "Enables download management page."
schema:
type: boolean
default: true
- variable: ytdl_allow_quality_select
label: "Allow Quality Select"
description: "Allows changing quality of files (resolution/bitrate). Disabling this means it's always the best quality selected."
schema:
type: boolean
default: true
- variable: ytdl_download_only_mode
label: "Download Only Mode"
description: "Playing videos is disabled, they can only be downloaded."
schema:
type: boolean
default: false
- variable: ytdl_use_api_key
label: "Enable YTDL-Material API Key"
description: "Allows YoutubeDL-Material's API to be utilized."
schema:
type: boolean
default: false
- variable: ytdl_api_key
label: "YTDL-Material API Key"
description: "Key used to authenticate YoutubeDL-Material's API users."
schema:
type: string
private: true
default: ""
- variable: ytdl_youtube_api_key
label: "Youtube API Key"
description: "Youtube API Key."
schema:
type: string
private: true
default: ""
- variable: ytdl_use_twitch_api
label: "Enable Twitch API Key"
description: "Enables Twitch API use, currently only used for downloading chats for VODs."
schema:
type: boolean
default: false
- variable: ytdl_twitch_api_key
label: "Twitch API Key"
description: "Twitch API Key."
schema:
type: string
private: true
default: ""
- variable: ytdl_twitch_auto_download_chat
label: "Twitch Auto Download Chat"
description: "Automatically downloads Twitch chats for VODs."
schema:
type: boolean
default: false
- variable: ytdl_use_sponsorblock_api
label: "Enable SponsorBlock"
description: "Enables Skip ads button in the video player if found on SponsorBlock."
schema:
type: boolean
default: false
- variable: ytdl_generate_nfo_files
label: "Generate NFO Files"
description: "Automatically creates NFO files for downloaded videos, primarily used with Kodi."
schema:
type: boolean
default: false
- variable: downloadersettigns
label: "Downloader Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_default_file_output
label: "Default File Output"
description: "Changes the formatting for file names based on youtube-dl output template."
schema:
type: string
default: ""
- variable: ytdl_custom_args
label: "Custom Args"
description: "Youtube-dl args that get added to every download."
schema:
type: string
default: ""
- variable: ytdl_allow_playlist_categorization
label: "Allow Playlist Categorization"
description: "Allow Playlist Categorization"
schema:
type: boolean
default: true
- variable: ytdl_use_youtubedl_archive
label: "Use Youtubedl Archive"
description: "Creates and uses archive text files to avoid redownloading the same file, and helps track/port already downloaded files."
schema:
type: boolean
default: false
- variable: ytdl_include_thumbnail
label: "Include Thumbnail"
description: "Downloads thumbnail along with file."
schema:
type: boolean
default: true
- variable: ytdl_include_metadata
label: "Include Metadata"
description: "Downloads .info.json files along with file (highly recommended)."
schema:
type: boolean
default: true
- variable: ytdl_max_concurrent_downloads
label: "Max Concurrent Downloads"
description: "Limits the number of simultaneous downloads."
schema:
type: int
default: 5
- variable: ytdl_download_rate_limit
label: "Rate Limit"
description: "Limits download speed."
schema:
type: string
default: ""
- variable: advancedsettigns
label: "Advanced Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_default_downloader
label: "Default Downloader"
description: "youtube-dl fork to use (youtube-dl, youtube-dlc, or yt-dlp)"
schema:
type: string
default: "yt-dlp"
enum:
- value: "yt-dlp"
description: "yt-dlp"
- value: "youtube-dlc"
description: "youtube-dlc"
- value: "youtube-dl"
description: "youtube-dl"
- variable: ytdl_use_default_downloading_agent
label: "Use Default Downloading Agent"
description: "Whether to use youtube-dl's default agent or an alternative."
schema:
type: boolean
default: true
- variable: ytdl_custom_downloading_agent
label: "Custom Downloading Agent"
description: "Preferred download agent, only used if Use default downloading agent is set to false."
schema:
type: string
default: ""
- variable: ytdl_logger_level
label: "Logger Level"
description: "Logger Level."
schema:
type: string
default: "info"
enum:
- value: "info"
description: "info"
- value: "info"
description: "info"
- value: "debug"
description: "debug"
- value: "verbose"
description: "verbose"
- value: "warn"
description: "warn"
- value: "error"
description: "error"
- variable: ytdl_jwt_expiration
label: "JWT Expiration"
description: "Length of time it takes for logins to expire."
schema:
type: int
default: 86400
- variable: ytdl_allow_advanced_download
label: "JWT Expiration"
description: "Enables an advanced download tab on the home page for additional download settings and information."
schema:
type: boolean
default: false
- variable: ytdl_use_cookies
label: "Use Cookies"
description: "Enables usage of uploaded cookies to download videos as if you were logged into that website."
schema:
type: boolean
default: false
# Include{containerConfig}
- variable: service
group: "Networking and Services"
label: "Configure Service(s)"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: main
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10253
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "HTTP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 10253
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: hostNetwork
group: "Networking and Services"
label: "Host-Networking (Complicated)"
schema:
type: boolean
default: false
# Include{serviceExpert}
# Include{serviceList}
- variable: persistence
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
additional_attrs: true
type: dict
attrs:
- variable: appdata
label: "App AppData Storage"
description: "Stores the Application AppData."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}
- variable: users
label: "App Users Storage"
description: "Stores the Application Users."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}
- variable: subscriptions
label: "App Subscriptions Storage"
description: "Stores the Application Subscriptions."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}
- variable: audio
label: "App Audio Storage"
description: "Stores the Application Audio."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}
- variable: video
label: "App Video Storage"
description: "Stores the Application Video."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}
# Include{persistenceList}
- variable: ingress
label: ""
group: "Ingress"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList}
# Include{security}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: false
# Include{securityContextAdvanced}
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 1000
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}

View File

@ -0,0 +1 @@
{{ include "tc.common.loader.all" . }}

View File

@ -0,0 +1,92 @@
image:
repository: tzahi12345/youtubedl-material
tag: 4.3@sha256:58b17b5be6a9b27076214fa35ebf5929d90f077696f3c2185d2db858d426c599
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
fsGroup: 1000
security:
PUID: 1000
env:
ytdl_mongodb_connection_string:
secretKeyRef:
name: mongodbcreds
key: url
ytdl_port: "{{ .Values.service.main.ports.main.port }}"
ytdl_use_local_db: false
ALLOW_CONFIG_MUTATIONS: true
write_ytdl_config: true
# Used Defined
ytdl_url: ""
ytdl_multi_user_mode: false
ytdl_allow_subscriptions: true
ytdl_subscriptions_check_interval: 86400
ytdl_subscriptions_redownload_fresh_uploads: false
ytdl_allow_theme_change: true
ytdl_default_theme: "default"
ytdl_title_top: "YoutubeDL-Material"
ytdl_file_manager_enabled: true
ytdl_enable_downloads_manager: true
ytdl_allow_quality_select: true
ytdl_download_only_mode: false
ytdl_use_api_key: false
ytdl_api_key: ""
ytdl_youtube_api_key: ""
ytdl_use_twitch_api: false
ytdl_twitch_api_key: ""
ytdl_twitch_auto_download_chat: false
ytdl_use_sponsorblock_api: false
ytdl_generate_nfo_files: false
ytdl_default_file_output: ""
ytdl_custom_args: ""
ytdl_allow_playlist_categorization: true
ytdl_use_youtubedl_archive: false
ytdl_include_thumbnail: true
ytdl_include_metadata: true
ytdl_max_concurrent_downloads: 5
ytdl_download_rate_limit: ""
ytdl_default_downloader: "yt-dlp"
ytdl_use_default_downloading_agent: true
ytdl_custom_downloading_agent: ""
ytdl_logger_level: "debug"
ytdl_jwt_expiration: 86400
ytdl_allow_advanced_download: false
ytdl_use_cookies: false
service:
main:
ports:
main:
port: 10253
persistence:
appdata:
enabled: true
mountPath: "/app/appdata"
users:
enabled: true
mountPath: "/app/users"
subscriptions:
enabled: true
mountPath: "/app/subscriptions"
audio:
enabled: true
mountPath: "/app/audio"
video:
enabled: true
mountPath: "/app/video"
mongodb:
enabled: true
existingSecret: "mongodbcreds"
mongodbUsername: ytdl_material
# DB name seems to be harcoded in their app
mongodbDatabase: ytdl_material