fix(aria2) disable portal and added more gui options. (#6697)
* fix(aria2) remove portal and clean up gui * update values * add gui options * rar * Update charts/stable/aria2/questions.yaml Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: xstar97 <9399967+xstar97@users.noreply.github.com> * bunmp --------- Signed-off-by: xstar97 <9399967+xstar97@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
co-authored by
Stavros Kois
parent
749f041dec
commit
e191f3a2f8
@@ -1,7 +1,5 @@
|
|||||||
# Include{groups}
|
# Include{groups}
|
||||||
portals:
|
portals: {}
|
||||||
open:
|
|
||||||
# Include{portalLink}
|
|
||||||
questions:
|
questions:
|
||||||
# Include{global}
|
# Include{global}
|
||||||
# Include{controller}
|
# Include{controller}
|
||||||
@@ -9,24 +7,42 @@ questions:
|
|||||||
# Include{replica1}
|
# Include{replica1}
|
||||||
# Include{controllerExpertExtraArgs}
|
# Include{controllerExpertExtraArgs}
|
||||||
- variable: secretEnv
|
- variable: secretEnv
|
||||||
group: "App Configuration"
|
group: App Configuration
|
||||||
label: "Image Secrets"
|
label: Image Secrets
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: RPC_SECRET
|
- variable: RPC_SECRET
|
||||||
label: "RPC_SECRET"
|
label: RPC Secret
|
||||||
description: "Sets the RPC_SECRET env var"
|
description: Set RPC secret authorization token.
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
private: true
|
private: true
|
||||||
default: "REPLACETHIS"
|
default: ""
|
||||||
|
- variable: DISK_CACHE
|
||||||
|
label: Disk Cache
|
||||||
|
description: Set up disk cache. SIZE can include K or M.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "64M"
|
||||||
|
- variable: UPDATE_TRACKERS
|
||||||
|
label: Update Trackers
|
||||||
|
description: Whether to update BT Trackers List automatically.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: CUSTOM_TRACKER_URL
|
||||||
|
label: Custom Trackers URL
|
||||||
|
description: Custom BT Trackers List URL.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "https://trackerslist.com/all_aria2.txt"
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
# Include{serviceRoot}
|
# Include{serviceRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
label: "Main Service"
|
label: Main Service
|
||||||
description: "The Primary service on which the healthcheck runs, often the webUI"
|
description: The Primary service on which the healthcheck runs, often the webUI
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -34,21 +50,21 @@ questions:
|
|||||||
# Include{serviceSelectorLoadBalancer}
|
# Include{serviceSelectorLoadBalancer}
|
||||||
# Include{serviceSelectorExtras}
|
# Include{serviceSelectorExtras}
|
||||||
- variable: main
|
- variable: main
|
||||||
label: "Main Service Port Configuration"
|
label: Main Service Port Configuration
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: port
|
- variable: port
|
||||||
label: "Port"
|
label: Port
|
||||||
description: "This port exposes the container port on the service"
|
description: This port exposes the container port on the service
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 6800
|
default: 6800
|
||||||
required: true
|
required: true
|
||||||
- variable: listen
|
- variable: listen
|
||||||
label: "Listen Service"
|
label: Listen Service
|
||||||
description: ""
|
description:
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -56,14 +72,14 @@ questions:
|
|||||||
# Include{serviceSelectorLoadBalancer}
|
# Include{serviceSelectorLoadBalancer}
|
||||||
# Include{serviceSelectorExtras}
|
# Include{serviceSelectorExtras}
|
||||||
- variable: listen
|
- variable: listen
|
||||||
label: "Listen Service Port Configuration"
|
label: Listen Service Port Configuration
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: port
|
- variable: port
|
||||||
label: "Port"
|
label: Port
|
||||||
description: "This port exposes the container port on the service"
|
description: This port exposes the container port on the service
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 6888
|
default: 6888
|
||||||
@@ -74,8 +90,8 @@ questions:
|
|||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
# Include{persistenceRoot}
|
# Include{persistenceRoot}
|
||||||
- variable: config
|
- variable: config
|
||||||
label: "App Config Storage"
|
label: App Config Storage
|
||||||
description: "Stores the Application Configuration."
|
description: Stores the Application Configuration.
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -84,7 +100,7 @@ questions:
|
|||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
# Include{ingressRoot}
|
# Include{ingressRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
label: "Main Ingress"
|
label: Main Ingress
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -96,41 +112,41 @@ questions:
|
|||||||
# Include{security}
|
# Include{security}
|
||||||
# Include{securityContextAdvancedRoot}
|
# Include{securityContextAdvancedRoot}
|
||||||
- variable: privileged
|
- variable: privileged
|
||||||
label: "Privileged mode"
|
label: Privileged mode
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: readOnlyRootFilesystem
|
- variable: readOnlyRootFilesystem
|
||||||
label: "ReadOnly Root Filesystem"
|
label: ReadOnly Root Filesystem
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: allowPrivilegeEscalation
|
- variable: allowPrivilegeEscalation
|
||||||
label: "Allow Privilege Escalation"
|
label: Allow Privilege Escalation
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: runAsNonRoot
|
- variable: runAsNonRoot
|
||||||
label: "runAsNonRoot"
|
label: runAsNonRoot
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
# Include{podSecurityContextRoot}
|
# Include{podSecurityContextRoot}
|
||||||
- variable: runAsUser
|
- variable: runAsUser
|
||||||
label: "runAsUser"
|
label: runAsUser
|
||||||
description: "The UserID of the user running the application"
|
description: The UserID of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: runAsGroup
|
- variable: runAsGroup
|
||||||
label: "runAsGroup"
|
label: runAsGroup
|
||||||
description: "The groupID this App of the user running the application"
|
description: The groupID this App of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: fsGroup
|
- variable: fsGroup
|
||||||
label: "fsGroup"
|
label: fsGroup
|
||||||
description: "The group that should own ALL storage."
|
description: The group that should own ALL storage.
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 568
|
||||||
|
|||||||
@@ -3,27 +3,6 @@ image:
|
|||||||
tag: latest@sha256:08a35fe3204c00dbdc609b1abc8c05c349764c3caecb9dadb970dc470c5b1f41
|
tag: latest@sha256:08a35fe3204c00dbdc609b1abc8c05c349764c3caecb9dadb970dc470c5b1f41
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
secretEnv:
|
|
||||||
RPC_SECRET: "ChangemeNow"
|
|
||||||
|
|
||||||
env:
|
|
||||||
RPC_PORT: 6800
|
|
||||||
# LISTEN_PORT: 6888
|
|
||||||
|
|
||||||
service:
|
|
||||||
main:
|
|
||||||
ports:
|
|
||||||
main:
|
|
||||||
port: 6800
|
|
||||||
targetPort: 6800
|
|
||||||
listen:
|
|
||||||
enabled: true
|
|
||||||
ports:
|
|
||||||
listen:
|
|
||||||
enabled: true
|
|
||||||
port: 6888
|
|
||||||
targetPort: 6888
|
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
@@ -32,12 +11,36 @@ podSecurityContext:
|
|||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
|
secretEnv:
|
||||||
|
RPC_SECRET: "ChangemeNow"
|
||||||
|
|
||||||
|
env:
|
||||||
|
RPC_PORT: "{{ .Values.service.main.ports.main.port }}"
|
||||||
|
LISTEN_PORT: "{{ .Values.service.listen.ports.listen.port }}"
|
||||||
|
UMASK_SET: "{{ .Values.security.UMASK }}"
|
||||||
|
DISK_CACHE: 64M
|
||||||
|
IPV6_MODE: false
|
||||||
|
UPDATE_TRACKERS: false
|
||||||
|
CUSTOM_TRACKER_URL: "https://trackerslist.com/all_aria2.txt"
|
||||||
|
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
main:
|
||||||
|
port: 6800
|
||||||
|
listen:
|
||||||
|
enabled: true
|
||||||
|
ports:
|
||||||
|
listen:
|
||||||
|
enabled: true
|
||||||
|
port: 6888
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/config"
|
mountPath: /config
|
||||||
varrun:
|
varrun:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
portal:
|
portal:
|
||||||
enabled: true
|
enabled: false
|
||||||
|
|||||||
Reference in New Issue
Block a user