From 72a00510afb465dc23e85de46a78f40f97f781ea Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Sun, 20 Nov 2022 10:00:35 -0500 Subject: [PATCH] feat(amule): Move to Stable (#4636) * feat(amule): Move to Stable * dont preset pass * shorternames Co-authored-by: Stavros kois --- .../{incubator => stable}/amule/.helmignore | 0 .../{incubator => stable}/amule/CHANGELOG.md | 0 charts/{incubator => stable}/amule/Chart.yaml | 8 +- charts/{incubator => stable}/amule/README.md | 0 charts/{incubator => stable}/amule/icon.png | Bin .../amule/questions.yaml | 86 +++++++++--------- .../amule/templates/common.yaml | 0 .../{incubator => stable}/amule/values.yaml | 30 +++--- 8 files changed, 64 insertions(+), 60 deletions(-) rename charts/{incubator => stable}/amule/.helmignore (100%) rename charts/{incubator => stable}/amule/CHANGELOG.md (100%) rename charts/{incubator => stable}/amule/Chart.yaml (74%) rename charts/{incubator => stable}/amule/README.md (100%) rename charts/{incubator => stable}/amule/icon.png (100%) rename charts/{incubator => stable}/amule/questions.yaml (66%) rename charts/{incubator => stable}/amule/templates/common.yaml (100%) rename charts/{incubator => stable}/amule/values.yaml (92%) diff --git a/charts/incubator/amule/.helmignore b/charts/stable/amule/.helmignore similarity index 100% rename from charts/incubator/amule/.helmignore rename to charts/stable/amule/.helmignore diff --git a/charts/incubator/amule/CHANGELOG.md b/charts/stable/amule/CHANGELOG.md similarity index 100% rename from charts/incubator/amule/CHANGELOG.md rename to charts/stable/amule/CHANGELOG.md diff --git a/charts/incubator/amule/Chart.yaml b/charts/stable/amule/Chart.yaml similarity index 74% rename from charts/incubator/amule/Chart.yaml rename to charts/stable/amule/Chart.yaml index 8f8e637780a..fe24afdd3f0 100644 --- a/charts/incubator/amule/Chart.yaml +++ b/charts/stable/amule/Chart.yaml @@ -11,8 +11,8 @@ dependencies: repository: https://library-charts.truecharts.org version: 11.0.3 deprecated: false -description: "aMule is an eMule-like client for the eDonkey and Kademlia networks." -home: https://truecharts.org/docs/charts/incubator/amule +description: aMule is an eMule-like client for the eDonkey and Kademlia networks. +home: https://truecharts.org/docs/charts/amule icon: https://truecharts.org/img/hotlink-ok/chart-icons/amule.png keywords: - amule @@ -26,8 +26,8 @@ maintainers: url: https://truecharts.org name: amule sources: - - https://github.com/truecharts/charts/tree/master/charts/incubator/amule + - https://github.com/truecharts/charts/tree/master/charts/amule - https://github.com/t-chab/dockerfiles - https://hub.docker.com/r/tchabaud/amule type: application -version: 2.0.1 +version: 2.1.0 diff --git a/charts/incubator/amule/README.md b/charts/stable/amule/README.md similarity index 100% rename from charts/incubator/amule/README.md rename to charts/stable/amule/README.md diff --git a/charts/incubator/amule/icon.png b/charts/stable/amule/icon.png similarity index 100% rename from charts/incubator/amule/icon.png rename to charts/stable/amule/icon.png diff --git a/charts/incubator/amule/questions.yaml b/charts/stable/amule/questions.yaml similarity index 66% rename from charts/incubator/amule/questions.yaml rename to charts/stable/amule/questions.yaml index 1a181081fc4..859d229d0e5 100644 --- a/charts/incubator/amule/questions.yaml +++ b/charts/stable/amule/questions.yaml @@ -9,29 +9,29 @@ questions: # Include{replica1} # Include{controllerExpertExtraArgs} - variable: env - group: "App Configuration" - label: "Image Environment" + group: App Configuration + label: Image Environment schema: additional_attrs: true type: dict attrs: - variable: WEBUI_PWD - label: "WEBUI_PWD" - description: "Password for WebUI." + label: WEBUI_PWD + description: Password for WebUI. schema: type: string - default: "admin" + default: "" - variable: WEBUI_TEMPLATE - label: "WEBUI_TEMPLATE" - description: "Alternative material WebUI design." + label: WEBUI_TEMPLATE + description: Alternative material WebUI design. schema: type: string - default: "default" + default: 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 @@ -39,21 +39,21 @@ 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: 4711 required: true - variable: porttcp - label: 'porttcp service' - description: "Client to client transfers" + label: TCP service port + description: Client to client transfers schema: additional_attrs: true type: dict @@ -61,21 +61,21 @@ questions: # Include{serviceSelectorLoadBalancer} # Include{serviceSelectorExtras} - variable: porttcp - label: "porttcp Service Port Configuration" + label: TCP 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: 4662 required: true - variable: portudp - label: 'portudp service' - description: "Extended aMule protocol, Queue Rating, File Reask Ping" + label: UDP service port + description: Extended aMule protocol, Queue Rating, File Reask Ping schema: additional_attrs: true type: dict @@ -83,14 +83,14 @@ questions: # Include{serviceSelectorLoadBalancer} # Include{serviceSelectorExtras} - variable: portudp - label: "portudp Service Port Configuration" + label: UDP 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: 4672 @@ -100,25 +100,25 @@ questions: # Include{serviceExpert} # Include{serviceList} # Include{persistenceRoot} - - variable: storagecomplete - label: "storagecomplete Storage" - description: "This is the location for complete downloads." + - variable: complete + label: Completed Storage Location + description: This is the location for complete downloads. schema: additional_attrs: true type: dict attrs: # Include{persistenceBasic} - - variable: storageincomplete - label: "storageincomplete Storage" - description: "This is the location for incomplete downloads." + - variable: incomplete + label: Incomplete Storage Location + description: This is the location for incomplete downloads. schema: additional_attrs: true type: dict attrs: # Include{persistenceBasic} - - variable: storageconfig - label: "storageconfig Storage" - description: "This is the location for the internal data." + - variable: config + label: Config Storage + description: This is the location for the internal data. schema: additional_attrs: true type: dict @@ -127,7 +127,7 @@ questions: # Include{persistenceList} # Include{ingressRoot} - variable: main - label: "Main Ingress" + label: Main Ingress schema: additional_attrs: true type: dict @@ -139,41 +139,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/amule/templates/common.yaml b/charts/stable/amule/templates/common.yaml similarity index 100% rename from charts/incubator/amule/templates/common.yaml rename to charts/stable/amule/templates/common.yaml diff --git a/charts/incubator/amule/values.yaml b/charts/stable/amule/values.yaml similarity index 92% rename from charts/incubator/amule/values.yaml rename to charts/stable/amule/values.yaml index a15589d08b8..2d0c721cf7f 100644 --- a/charts/incubator/amule/values.yaml +++ b/charts/stable/amule/values.yaml @@ -1,26 +1,19 @@ -env: - WEBUI_PWD: admin - WEBUI_TEMPLATE: default image: pullPolicy: IfNotPresent repository: tccr.io/truecharts/amule tag: latest@sha256:08ac5dd2895ac3ebbee27dbee5ddff5cdbd1fc36624aff0651976d5eee52b217 -persistence: - storagecomplete: - enabled: true - mountPath: /incoming - storageconfig: - enabled: true - mountPath: /home/amule/.aMule - storageincomplete: - enabled: true - mountPath: /temp + +env: + WEBUI_PWD: "" + WEBUI_TEMPLATE: default + podSecurityContext: runAsGroup: 0 runAsUser: 0 securityContext: readOnlyRootFilesystem: false runAsNonRoot: false + service: main: ports: @@ -45,5 +38,16 @@ service: protocol: UDP targetPort: 4672 +persistence: + complete: + enabled: true + mountPath: /incoming + config: + enabled: true + mountPath: /home/amule/.aMule + incomplete: + enabled: true + mountPath: /temp + portal: enabled: true