feat(jdownloader2): make gui easier - Breaking Change (#2154)
* feat(jdownloader2): make gui easier * fix values and add persistence * whoops * pass
This commit is contained in:
@@ -23,7 +23,7 @@ sources:
|
|||||||
- https://hub.docker.com/r/jlesage/jdownloader-2
|
- https://hub.docker.com/r/jlesage/jdownloader-2
|
||||||
- https://jdownloader.org/
|
- https://jdownloader.org/
|
||||||
type: application
|
type: application
|
||||||
version: 6.0.2
|
version: 7.0.0
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- downloads
|
- downloads
|
||||||
|
|||||||
@@ -89,25 +89,19 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
private: true
|
private: true
|
||||||
default: "REPLACETHIS"
|
default: "REPLACETHIS"
|
||||||
- variable: env
|
- variable: jdownloader
|
||||||
group: "Container Configuration"
|
group: "Container Configuration"
|
||||||
label: "Image Environment"
|
label: "jDownloader2 Configuration"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: PUID
|
|
||||||
label: "PUID"
|
|
||||||
description: "Sets the PUID env var for jdownloader2 containers"
|
|
||||||
schema:
|
|
||||||
type: int
|
|
||||||
default: 568
|
|
||||||
- variable: KEEP_APP_RUNNING
|
- variable: KEEP_APP_RUNNING
|
||||||
label: "KEEP_APP_RUNNING"
|
label: "KEEP_APP_RUNNING"
|
||||||
description: "When set to 1, the application will be automatically restarted if it crashes or if a user quits it."
|
description: "When set to 1, the application will be automatically restarted if it crashes or if a user quits it."
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: boolean
|
||||||
default: 0
|
default: false
|
||||||
- variable: gui
|
- variable: gui
|
||||||
label: "GUI Settings"
|
label: "GUI Settings"
|
||||||
description: "Always read description before changing a value here. Also refer to README"
|
description: "Always read description before changing a value here. Also refer to README"
|
||||||
@@ -134,9 +128,8 @@ questions:
|
|||||||
label: "SECURE_CONNECTION"
|
label: "SECURE_CONNECTION"
|
||||||
description: "When set to 1, an encrypted connection is used to access the application's GUI (either via a web browser or VNC client). See the Security section for more details."
|
description: "When set to 1, an encrypted connection is used to access the application's GUI (either via a web browser or VNC client). See the Security section for more details."
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: boolean
|
||||||
default: 0
|
default: false
|
||||||
required: true
|
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
|
|
||||||
- variable: service
|
- variable: service
|
||||||
@@ -384,6 +377,49 @@ questions:
|
|||||||
description: "Default"
|
description: "Default"
|
||||||
- value: "Memory"
|
- value: "Memory"
|
||||||
description: "Memory"
|
description: "Memory"
|
||||||
|
# Include{persistenceAdvanced}
|
||||||
|
- variable: output
|
||||||
|
label: "App Output Storage"
|
||||||
|
description: "Stores the Application Output."
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: type
|
||||||
|
label: "Type of Storage"
|
||||||
|
description: "Sets the persistence type, Anything other than PVC could break rollback!"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "simplePVC"
|
||||||
|
enum:
|
||||||
|
- value: "simplePVC"
|
||||||
|
description: "PVC (simple)"
|
||||||
|
- value: "simpleHP"
|
||||||
|
description: "HostPath (simple)"
|
||||||
|
- value: "emptyDir"
|
||||||
|
description: "emptyDir"
|
||||||
|
- value: "pvc"
|
||||||
|
description: "pvc"
|
||||||
|
- value: "hostPath"
|
||||||
|
description: "hostPath"
|
||||||
|
# Include{persistenceBasic}
|
||||||
|
- variable: hostPath
|
||||||
|
label: "hostPath"
|
||||||
|
description: "Path inside the container the storage is mounted"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "hostPath"]]
|
||||||
|
type: hostpath
|
||||||
|
- variable: medium
|
||||||
|
label: "EmptyDir Medium"
|
||||||
|
schema:
|
||||||
|
show_if: [["type", "=", "emptyDir"]]
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
enum:
|
||||||
|
- value: ""
|
||||||
|
description: "Default"
|
||||||
|
- value: "Memory"
|
||||||
|
description: "Memory"
|
||||||
# Include{persistenceAdvanced}
|
# Include{persistenceAdvanced}
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
- variable: ingress
|
- variable: ingress
|
||||||
|
|||||||
@@ -32,18 +32,34 @@ service:
|
|||||||
port: 10056
|
port: 10056
|
||||||
targetPort: 5900
|
targetPort: 5900
|
||||||
|
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: '{{ include "common.names.fullname" . }}-jdownloader'
|
||||||
|
|
||||||
secret:
|
secret:
|
||||||
VNC_PASSWORD: ""
|
VNC_PASSWORD: ""
|
||||||
env:
|
|
||||||
|
jdownloader:
|
||||||
# General Settings
|
# General Settings
|
||||||
KEEP_APP_RUNNING: 0
|
KEEP_APP_RUNNING: false
|
||||||
CLEAN_TMP_DIR: 1
|
|
||||||
# GUI Settings
|
# GUI Settings
|
||||||
DISPLAY_WIDTH: 1280
|
DISPLAY_WIDTH: 1280
|
||||||
DISPLAY_HEIGHT: 768
|
DISPLAY_HEIGHT: 768
|
||||||
SECURE_CONNECTION: 0
|
SECURE_CONNECTION: false
|
||||||
|
|
||||||
|
configmap:
|
||||||
|
jdownloader:
|
||||||
|
enabled: true
|
||||||
|
data:
|
||||||
|
KEEP_APP_RUNNING: "{{ ternary \"1\" \"0\" .Values.jdownloader.KEEP_APP_RUNNING }}"
|
||||||
|
SECURE_CONNECTION: "{{ ternary \"1\" \"0\" .Values.jdownloader.SECURE_CONNECTION }}"
|
||||||
|
DISPLAY_WIDTH: "{{ .Values.jdownloader.DISPLAY_WIDTH }}"
|
||||||
|
DISPLAY_HEIGHT: "{{ .Values.jdownloader.DISPLAY_HEIGHT }}"
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
output:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/output"
|
||||||
|
|||||||
Reference in New Issue
Block a user