From 16d0fdf9c2dbdc4082705efe982fed9be29f664b Mon Sep 17 00:00:00 2001 From: Xstar97 Date: Tue, 27 Sep 2022 09:03:49 -0400 Subject: [PATCH] (fix) move posterr to stable. (#3921) * (fix) move posterr to stable. * base_path is not supported Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- .../{incubator => stable}/posterr/.helmignore | 0 .../posterr/CHANGELOG.md | 0 .../{incubator => stable}/posterr/Chart.yaml | 15 ++--- .../{incubator => stable}/posterr/README.md | 0 .../posterr/docs/default_credentials.md | 3 + charts/{incubator => stable}/posterr/icon.png | Bin .../posterr/questions.yaml | 58 +++++++----------- .../posterr/templates/common.yaml | 0 .../{incubator => stable}/posterr/values.yaml | 32 +++++----- 9 files changed, 51 insertions(+), 57 deletions(-) rename charts/{incubator => stable}/posterr/.helmignore (100%) rename charts/{incubator => stable}/posterr/CHANGELOG.md (100%) rename charts/{incubator => stable}/posterr/Chart.yaml (82%) rename charts/{incubator => stable}/posterr/README.md (100%) create mode 100644 charts/stable/posterr/docs/default_credentials.md rename charts/{incubator => stable}/posterr/icon.png (100%) rename charts/{incubator => stable}/posterr/questions.yaml (67%) rename charts/{incubator => stable}/posterr/templates/common.yaml (100%) rename charts/{incubator => stable}/posterr/values.yaml (92%) diff --git a/charts/incubator/posterr/.helmignore b/charts/stable/posterr/.helmignore similarity index 100% rename from charts/incubator/posterr/.helmignore rename to charts/stable/posterr/.helmignore diff --git a/charts/incubator/posterr/CHANGELOG.md b/charts/stable/posterr/CHANGELOG.md similarity index 100% rename from charts/incubator/posterr/CHANGELOG.md rename to charts/stable/posterr/CHANGELOG.md diff --git a/charts/incubator/posterr/Chart.yaml b/charts/stable/posterr/Chart.yaml similarity index 82% rename from charts/incubator/posterr/Chart.yaml rename to charts/stable/posterr/Chart.yaml index f17e2747776..d00911c2a95 100644 --- a/charts/incubator/posterr/Chart.yaml +++ b/charts/stable/posterr/Chart.yaml @@ -1,7 +1,3 @@ -annotations: - truecharts.org/SCALE-support: "true" - truecharts.org/catagories: | - - MediaServer-Other apiVersion: v2 appVersion: "latest" dependencies: @@ -9,8 +5,8 @@ dependencies: repository: https://library-charts.truecharts.org version: 10.6.4 deprecated: false -description: Media display for Plex, sonarr and radarr -home: https://truecharts.org/docs/charts/incubator/posterr +description: Media display for Plex, Sonarr and Radarr. +home: https://truecharts.org/docs/charts/stable/posterr icon: https://truecharts.org/img/hotlink-ok/chart-icons/posterr.png keywords: - posterr @@ -26,4 +22,9 @@ sources: - https://github.com/petersem/posterr - https://hub.docker.com/r/petersem/posterr/ type: application -version: 0.0.26 +version: 1.0.0 +annotations: + truecharts.org/catagories: | + - MediaServer-Other + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/posterr/README.md b/charts/stable/posterr/README.md similarity index 100% rename from charts/incubator/posterr/README.md rename to charts/stable/posterr/README.md diff --git a/charts/stable/posterr/docs/default_credentials.md b/charts/stable/posterr/docs/default_credentials.md new file mode 100644 index 00000000000..59d185c88fd --- /dev/null +++ b/charts/stable/posterr/docs/default_credentials.md @@ -0,0 +1,3 @@ +# Default Credentials + +- The default password is `raidisnotabackup`. You will be asked to set a new password after logging in. diff --git a/charts/incubator/posterr/icon.png b/charts/stable/posterr/icon.png similarity index 100% rename from charts/incubator/posterr/icon.png rename to charts/stable/posterr/icon.png diff --git a/charts/incubator/posterr/questions.yaml b/charts/stable/posterr/questions.yaml similarity index 67% rename from charts/incubator/posterr/questions.yaml rename to charts/stable/posterr/questions.yaml index 4a0af68ed97..74f6853a8aa 100644 --- a/charts/incubator/posterr/questions.yaml +++ b/charts/stable/posterr/questions.yaml @@ -12,23 +12,11 @@ questions: # Include{recreate} # Include{controllerExpert} # Include{controllerExpertExtraArgs} - - variable: env - group: "Container Configuration" - label: "Image Environment" - schema: - additional_attrs: true - type: dict - attrs: - - variable: BASEPATH - label: "BASEPATH" - schema: - type: string - default: "" # 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 @@ -36,22 +24,22 @@ 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: 9876 required: true -# Include{advancedPortTCP} +# Include{advancedPortHTTP} - variable: targetPort - label: "Target Port" - description: "The internal(!) port on the container the Application runs on" + label: Target Port + description: The internal(!) port on the container the Application runs on schema: type: int default: 3000 @@ -61,8 +49,8 @@ questions: # Include{serviceList} # Include{persistenceRoot} - variable: config - label: "config Storage" - description: "appdata for Posterr config files" + label: Config Storage + description: Storage for config schema: additional_attrs: true type: dict @@ -70,8 +58,8 @@ questions: # Include{persistenceBasic} # Include{persistenceAdvanced} - variable: custom - label: "custom Storage" - description: "Container Path usrsrcapppubliccustom" + label: Custom Storage + description: Storage for custom pictures schema: additional_attrs: true type: dict @@ -81,7 +69,7 @@ questions: # Include{persistenceList} # Include{ingressRoot} - variable: main - label: "Main Ingress" + label: Main Ingress schema: additional_attrs: true type: dict @@ -94,42 +82,42 @@ 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{securityContextAdvanced} # 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/posterr/templates/common.yaml b/charts/stable/posterr/templates/common.yaml similarity index 100% rename from charts/incubator/posterr/templates/common.yaml rename to charts/stable/posterr/templates/common.yaml diff --git a/charts/incubator/posterr/values.yaml b/charts/stable/posterr/values.yaml similarity index 92% rename from charts/incubator/posterr/values.yaml rename to charts/stable/posterr/values.yaml index 2d815e95f20..69b58d4bd32 100644 --- a/charts/incubator/posterr/values.yaml +++ b/charts/stable/posterr/values.yaml @@ -1,9 +1,24 @@ -env: - BASEPATH: "" image: pullPolicy: IfNotPresent repository: tccr.io/truecharts/posterr tag: latest@sha256:7f0468562c337878cc089ac7587041344b616167e9995b1fd2f59600c1364294 + +podSecurityContext: + runAsGroup: 0 + runAsUser: 0 + +securityContext: + readOnlyRootFilesystem: false + runAsNonRoot: false + +service: + main: + ports: + main: + port: 9876 + protocol: HTTP + targetPort: 3000 + persistence: config: enabled: true @@ -11,19 +26,6 @@ persistence: custom: enabled: true mountPath: /usr/src/app/public/custom -podSecurityContext: - runAsGroup: 0 - runAsUser: 0 -securityContext: - readOnlyRootFilesystem: false - runAsNonRoot: false -service: - main: - ports: - main: - port: 9876 - protocol: TCP - targetPort: 3000 portal: enabled: true