Create new permission and customStorage system on the individual apps (#343)

This commit is contained in:
Kjeld Schouten-Lebbing
2021-04-14 22:24:09 +02:00
committed by GitHub
parent f3af8caa9b
commit 809f3215ab
265 changed files with 3624 additions and 2529 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://truecharts.org/
version: 2.2.2
digest: sha256:82ffcab0ecb2e23d6a8a775fb2408906a40bcde3379d5575cb54542ed16aa596
generated: "2021-04-12T17:35:13.816265342Z"
version: 3.0.1
digest: sha256:872003df28f67815271ff4716b856a152b06a170fe98bdbceebf29dbe6c229a5
generated: "2021-04-14T20:27:19.6196908+02:00"
+1 -1
View File
@@ -20,7 +20,7 @@ sources:
dependencies:
- name: common
repository: https://truecharts.org/
version: 2.2.2
version: 3.0.1
# condition:
maintainers:
- name: TrueCharts
Binary file not shown.
Binary file not shown.
+73 -86
View File
@@ -17,7 +17,6 @@ groups:
description: "Advanced Configuration"
- name: "WARNING"
description: "WARNING"
portals:
web_portal:
protocols:
@@ -26,9 +25,7 @@ portals:
- "$kubernetes-resource_configmap_portal_host"
ports:
- "$kubernetes-resource_configmap_portal_port"
questions:
- variable: portal
group: "Container Image"
label: "Configure Portal Button"
@@ -45,7 +42,6 @@ questions:
type: boolean
default: true
# Update Policy
- variable: strategyType
group: "Container Image"
@@ -58,8 +54,6 @@ questions:
description: "Create new pods and then kill old ones"
- value: "Recreate"
description: "Kill existing pods before creating new ones"
# Configure Time Zone
# Configure Time Zone
- variable: timezone
group: "Container Image"
@@ -70,44 +64,6 @@ questions:
$ref:
- "definitions/timezone"
- variable: PUID
group: "Container Image"
label: "PUID"
description: "The UserID of the user running the application and owning the files"
schema:
type: int
default: 568
# Enable privileged
- variable: securityContext
group: "Container Image"
label: "Security Context"
schema:
type: dict
attrs:
- variable: privileged
label: "Enable privileged to pass thru a USB device"
schema:
type: boolean
default: false
- variable: PGID
group: "Container Image"
label: "PGID"
description: "The groupID of the user/group running the application and owning the files"
schema:
type: int
default: 568
- variable: UMASK
group: "Container Image"
label: "UMASK (advanced)"
description: "The UMASK used if supported by the application"
schema:
type: string
default: "002"
- variable: transmissionConfig
group: "Configuration"
label: "Transmission Settings"
@@ -119,212 +75,177 @@ questions:
schema:
type: int
default: 50
- variable: alt-speed-enabled
label: "alt-speed-enabled"
schema:
type: boolean
default: false
- variable: alt-speed-time-begin
label: "alt-speed-time-begin"
schema:
type: int
default: 540
- variable: alt-speed-time-day
label: "alt-speed-time-day"
schema:
type: int
default: 127
- variable: alt-speed-time-enabled
label: "alt-speed-time-enabled"
schema:
type: boolean
default: false
- variable: alt-speed-time-end
label: "alt-speed-time-end"
schema:
type: int
default: 1020
- variable: alt-speed-up
label: "alt-speed-up"
schema:
type: int
default: 50
- variable: blocklist-enabled
label: "blocklist-enabled"
schema:
type: boolean
default: true
- variable: blocklist-url
label: "blocklist-url"
schema:
type: string
default: "http://john.bitsurge.net/public/biglist.p2p.gz"
- variable: download-dir
label: "download-dir"
schema:
type: string
default: "/downloads/complete"
- variable: download-queue-enabled
label: "download-queue-enabled"
schema:
type: boolean
default: true
- variable: download-queue-size
label: "download-queue-size"
schema:
type: int
default: 5
- variable: encryption
label: "encryption"
schema:
type: int
default: 1
- variable: idle-seeding-limit
label: "idle-seeding-limit"
schema:
type: int
default: 30
- variable: idle-seeding-limit-enabled
label: "idle-seeding-limit-enabled"
schema:
type: boolean
default: false
- variable: incomplete-dir
label: "incomplete-dir"
schema:
type: string
default: "/downloads/incomplete"
- variable: incomplete-dir-enabled
label: "incomplete-dir-enabled"
schema:
type: boolean
default: true
- variable: peer-limit-global
label: "peer-limit-global"
schema:
type: int
default: 200
- variable: peer-limit-per-torrent
label: "peer-limit-per-torrent"
schema:
type: int
default: 50
- variable: queue-stalled-enabled
label: "queue-stalled-enabled"
schema:
type: boolean
default: true
- variable: queue-stalled-minutes
label: "queue-stalled-minutes"
schema:
type: int
default: 30
- variable: ratio-limit
label: "ratio-limit"
schema:
type: int
default: 2
- variable: ratio-limit-enabled
label: "ratio-limit-enabled"
schema:
type: boolean
default: false
- variable: scrape-paused-torrents-enabled
label: "scrape-paused-torrents-enabled"
schema:
type: boolean
default: true
- variable: script-torrent-done-enabled
label: "script-torrent-done-enabled"
schema:
type: boolean
default: false
- variable: script-torrent-done-filename
label: "script-torrent-done-filename"
schema:
type: string
default: ""
- variable: seed-queue-enabled
label: "seed-queue-enabled"
schema:
type: boolean
default: false
- variable: seed-queue-size
label: "seed-queue-size"
schema:
type: int
default: 10
- variable: speed-limit-down
label: "speed-limit-down"
schema:
type: int
default: 100
- variable: speed-limit-down-enabled
label: "speed-limit-down-enabled"
schema:
type: boolean
default: false
- variable: speed-limit-up
label: "speed-limit-up"
schema:
type: int
default: 100
- variable: speed-limit-up-enabled
label: "speed-limit-up-enabled"
schema:
type: boolean
default: false
- variable: start-added-torrents
label: "start-added-torrents"
schema:
type: boolean
default: true
- variable: trash-original-torrent-files
label: "trash-original-torrent-files"
schema:
type: boolean
default: false
- variable: upload-slots-per-torrent
label: "upload-slots-per-torrent"
schema:
type: int
default: 14
# Configure Enviroment Variables
- variable: environmentVariables
label: "Image environment"
@@ -347,7 +268,6 @@ questions:
schema:
type: string
# Enable Host Networking
- variable: hostNetwork
group: "Networking"
@@ -355,7 +275,6 @@ questions:
schema:
type: boolean
default: false
- variable: services
group: "Networking"
label: "Configure Service"
@@ -551,9 +470,7 @@ questions:
max: 65535
default: 36052
required: true
## TrueCharts Specific
- variable: persistence
label: "Integrated Persistent Storage"
group: "Storage"
@@ -612,8 +529,7 @@ questions:
schema:
type: string
default: "100Gi"
- variable: additionalAppVolumeMounts
- variable: customStorage
label: "Custom app storage"
group: "Storage"
schema:
@@ -673,7 +589,6 @@ questions:
schema:
type: hostpath
required: true
- variable: ingress
label: ""
group: "Reverse Proxy Configuration"
@@ -763,3 +678,75 @@ questions:
schema:
type: string
default: ""
- variable: UMASK
group: "Advanced"
label: "UMASK"
description: "Sets the UMASK env var for LinuxServer.io (compatible) containers"
schema:
type: string
default: "002"
# Enable privileged
- variable: securityContext
group: "Advanced"
label: "Security Context"
schema:
type: dict
attrs:
- variable: privileged
label: "Enable privileged mode for Common-Chart based charts"
schema:
type: boolean
default: false
# Set Pod Security Policy
- variable: podSecurityContext
group: "Advanced"
label: "Pod Security Context"
schema:
type: dict
attrs:
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: true
- 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: supplementalGroups
label: "supplementalGroups"
description: "Additional groups this App needs access to"
schema:
type: list
default: []
items:
- variable: Group
label: "Group"
schema:
type: int
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
- variable: fsGroupChangePolicy
label: "When should we take ownership?"
schema:
type: string
default: "OnRootMismatch"
enum:
- value: "OnRootMismatch"
description: "OnRootMismatch"
- value: "Always"
description: "Always"