feat(YouTransfer): Fix port + storage (#4599)

* feat(YouTransfer): Fix port + storage

* remove quotes
This commit is contained in:
StevenMcElligott 2022-11-19 03:30:35 -05:00 committed by GitHub
parent a2c8ad47b6
commit d50cd07fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 31 deletions

View File

@ -28,4 +28,4 @@ sources:
- https://github.com/YouTransfer/YouTransfer - https://github.com/YouTransfer/YouTransfer
- https://hub.docker.com/r/remie/youtransfer/ - https://hub.docker.com/r/remie/youtransfer/
type: application type: application
version: 2.0.1 version: 2.1.0

View File

@ -11,8 +11,8 @@ questions:
# 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
@ -20,14 +20,14 @@ 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: 5000 default: 5000
@ -38,16 +38,16 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: config - variable: config
label: "config Storage" label: config Storage
description: "Config Path" description: Config Path
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{persistenceBasic} # Include{persistenceBasic}
- variable: hostpath3 - variable: uploads
label: "hostpath3 Storage" label: Uploads Storage
description: "Uploads Path" description: Uploads Path
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@ -56,7 +56,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
@ -68,41 +68,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

View File

@ -1,15 +1,8 @@
env: {}
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/youtransfer repository: tccr.io/truecharts/youtransfer
tag: latest@sha256:7e3253304dce56c3eac8f1966e7a70fdd4e62dcafe4be28cb0152a2d3da3560b tag: latest@sha256:7e3253304dce56c3eac8f1966e7a70fdd4e62dcafe4be28cb0152a2d3da3560b
persistence:
config:
enabled: true
mountPath: /opt/youtransfer/config
hostpath3:
enabled: true
mountPath: /opt/youtransfer/uploads
podSecurityContext: podSecurityContext:
runAsGroup: 0 runAsGroup: 0
runAsUser: 0 runAsUser: 0
@ -21,8 +14,17 @@ service:
ports: ports:
main: main:
port: 5000 port: 5000
protocol: TCP protocol: HTTP
targetPort: 5000 targetPort: 5000
portal: portal:
enabled: true enabled: true
persistence:
config:
enabled: true
mountPath: /opt/youtransfer/config
uploads:
enabled: true
mountPath: /opt/youtransfer/uploads
type: hostPath