fix(metube): BREAKING CHANGES - separate config/download dirs. (#6154)

* fix(metube) separate config/download dirs.

* remove the gui option.

* fix spelling

* Update charts/stable/metube/questions.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97
2023-01-08 15:50:43 +02:00
committed by GitHub
co-authored by Stavros Kois
parent 662aef3de3
commit 7a84a44f86
3 changed files with 40 additions and 27 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
description: Web GUI for youtube-dl (using the yt-dlp fork) with playlist support. Allows you to download videos from YouTube and dozens of other sites
description: Web GUI for youtube-dl.
home: https://truecharts.org/charts/stable/metube
icon: https://truecharts.org/img/hotlink-ok/chart-icons/metube.png
keywords:
@@ -18,7 +18,7 @@ name: metube
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/metube
- https://github.com/alexta69/metube
version: 4.0.7
version: 5.0.0
annotations:
truecharts.org/catagories: |
- media
+32 -24
View File
@@ -9,29 +9,29 @@ questions:
# Include{replica1}
# Include{controllerExpertExtraArgs}
- variable: env
group: "App Configuration"
label: "Image Environment"
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: OUTPUT_TEMPLATE
label: "OUTPUT_TEMPLATE"
description: "The template for the filenames of the downloaded videos"
label: Output Template
description: The template for the filenames of the downloaded videos
schema:
type: string
default: "%(title)s.%(ext)s"
- variable: YTDL_OPTIONS
label: "YTDL_OPTIONS"
description: "Additional options to pass to youtube-dl, in JSON format"
label: YTDL Options
description: Additional options to pass to youtube-dl, in JSON format
schema:
type: string
default: "{}"
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
schema:
additional_attrs: true
type: dict
@@ -39,14 +39,14 @@ questions:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: "Main Service Port Configuration"
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"
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 10216
@@ -56,9 +56,17 @@ questions:
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Config.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: downloads
label: "App Downloads Storage"
description: "Stores the Application Downloads."
label: App Downloads Storage
description: Stores the Application Downloads.
schema:
additional_attrs: true
type: dict
@@ -67,7 +75,7 @@ questions:
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
label: Main Ingress
schema:
additional_attrs: true
type: dict
@@ -79,41 +87,41 @@ questions:
# Include{security}
# Include{securityContextAdvancedRoot}
- variable: privileged
label: "Privileged mode"
label: Privileged mode
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
label: ReadOnly Root Filesystem
schema:
type: boolean
default: true
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
label: Allow Privilege Escalation
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
label: runAsNonRoot
schema:
type: boolean
default: true
# Include{podSecurityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
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"
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."
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
+6 -1
View File
@@ -4,6 +4,8 @@ image:
pullPolicy: IfNotPresent
env:
STATE_DIR: /config
DOWNLOAD_DIR: /downloads
OUTPUT_TEMPLATE: "%(title)s.%(ext)s"
YTDL_OPTIONS: "{}"
@@ -15,9 +17,12 @@ service:
targetPort: 8081
persistence:
config:
enabled: true
mountPath: /config
downloads:
enabled: true
mountPath: "/downloads"
mountPath: /downloads
portal:
enabled: true