From d50cd07fecde80a85e9a03e87270d2bd043315c1 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Sat, 19 Nov 2022 03:30:35 -0500 Subject: [PATCH] feat(YouTransfer): Fix port + storage (#4599) * feat(YouTransfer): Fix port + storage * remove quotes --- charts/incubator/youtransfer/Chart.yaml | 2 +- charts/incubator/youtransfer/questions.yaml | 42 ++++++++++----------- charts/incubator/youtransfer/values.yaml | 20 +++++----- 3 files changed, 33 insertions(+), 31 deletions(-) diff --git a/charts/incubator/youtransfer/Chart.yaml b/charts/incubator/youtransfer/Chart.yaml index b4bc89714c6..2872b209792 100644 --- a/charts/incubator/youtransfer/Chart.yaml +++ b/charts/incubator/youtransfer/Chart.yaml @@ -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 diff --git a/charts/incubator/youtransfer/questions.yaml b/charts/incubator/youtransfer/questions.yaml index 54b49aae15f..daa43f2301a 100644 --- a/charts/incubator/youtransfer/questions.yaml +++ b/charts/incubator/youtransfer/questions.yaml @@ -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 diff --git a/charts/incubator/youtransfer/values.yaml b/charts/incubator/youtransfer/values.yaml index 9725bb63476..2ad6d32642d 100644 --- a/charts/incubator/youtransfer/values.yaml +++ b/charts/incubator/youtransfer/values.yaml @@ -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