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://hub.docker.com/r/remie/youtransfer/
type: application
version: 2.0.1
version: 2.1.0

View File

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

View File

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