From a24a313810423f8586e33c8b9d9432a080296881 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sat, 3 Sep 2022 01:26:02 +0300 Subject: [PATCH] fix(pasta): cleanup and fix service (#3667) * fix(pasta): cleanup and fix service * add persistence list aswell * root --- charts/incubator/pasta/Chart.yaml | 16 +++++----- charts/incubator/pasta/questions.yaml | 45 ++++++++++++++++++++++++++- charts/incubator/pasta/values.yaml | 21 +++++-------- 3 files changed, 60 insertions(+), 22 deletions(-) diff --git a/charts/incubator/pasta/Chart.yaml b/charts/incubator/pasta/Chart.yaml index 272815095ae..fd7a8ae6a78 100644 --- a/charts/incubator/pasta/Chart.yaml +++ b/charts/incubator/pasta/Chart.yaml @@ -1,9 +1,3 @@ -annotations: - truecharts.org/SCALE-support: "true" - truecharts.org/catagories: | - - MediaApp-Other - - Tools-Utilities - - Other apiVersion: v2 appVersion: "latest" dependencies: @@ -11,7 +5,7 @@ dependencies: repository: https://library-charts.truecharts.org version: 10.5.6 deprecated: false -description: "PASTA - Audio and Subtitle Track Changer for Plex [br]\n" +description: "PASTA - Audio and Subtitle Track Changer for Plex" home: https://truecharts.org/docs/charts/incubator/pasta icon: https://truecharts.org/img/hotlink-ok/chart-icons/pasta.png keywords: @@ -30,4 +24,10 @@ sources: - https://github.com/cglatot/pasta - https://hub.docker.com/r/cglatot/pasta type: application -version: 0.0.22 +version: 0.0.23 +annotations: + truecharts.org/SCALE-support: "true" + truecharts.org/catagories: | + - MediaApp-Other + - Tools-Utilities + - Other diff --git a/charts/incubator/pasta/questions.yaml b/charts/incubator/pasta/questions.yaml index 67df7bc5e98..659fc81ca4f 100644 --- a/charts/incubator/pasta/questions.yaml +++ b/charts/incubator/pasta/questions.yaml @@ -1,5 +1,7 @@ # Include{groups} -portals: {} +portals: + open: +# Include{portalLink} questions: # Include{global} # Include{controller} @@ -10,11 +12,52 @@ questions: # Include{recreate} # Include{controllerExpert} # Include{controllerExpertExtraArgs} +# Include{containerConfig} +# Include{serviceRoot} + - variable: main + label: "Main Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelector} + - variable: main + 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" + schema: + type: int + default: 10302 + required: true +# Include{advancedPortHTTP} + - variable: targetPort + label: "Target Port" + description: "The internal(!) port on the container the Application runs on" + schema: + type: int + default: 80 # Include{serviceExpertRoot} default: false # Include{serviceExpert} # Include{serviceList} # Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressExpert} # Include{ingressList} # Include{security} # Include{securityContextAdvancedRoot} diff --git a/charts/incubator/pasta/values.yaml b/charts/incubator/pasta/values.yaml index 953425095e6..fe68c5aaf78 100644 --- a/charts/incubator/pasta/values.yaml +++ b/charts/incubator/pasta/values.yaml @@ -1,28 +1,23 @@ -env: {} image: - pullPolicy: IfNotPresent repository: tccr.io/truecharts/pasta - tag: latest@sha256:699d856a33c39cdc9ea2554f8b79aa6ad9e17b1bf64d5a8f1362d9d88ecf7fa8 -persistence: {} + pullPolicy: IfNotPresent + tag: v1.6.2@sha256:bf58e696b81dc381508e54d8dbdd237314225e443b8e67db7400d5a0db07b5a5 + podSecurityContext: runAsGroup: 0 runAsUser: 0 -probes: - liveness: - enabled: false - readiness: - enabled: false - startup: - enabled: false + securityContext: readOnlyRootFilesystem: false runAsNonRoot: false + service: main: - enabled: false ports: main: - enabled: false + port: 10302 + protocol: HTTP + targetPort: 80 portal: enabled: false