From fb6fa20b19b400e47427e61b62bab3a309eefb30 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Tue, 22 Aug 2023 21:21:33 -0400 Subject: [PATCH] fix(rtorrent-rutorrent): Fix questions (#11807) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- .../incubator/rtorrent-rutorrent/Chart.yaml | 2 +- .../rtorrent-rutorrent/questions.yaml | 118 ++++++++++++++++-- 2 files changed, 108 insertions(+), 12 deletions(-) diff --git a/charts/incubator/rtorrent-rutorrent/Chart.yaml b/charts/incubator/rtorrent-rutorrent/Chart.yaml index 9bbda6b3779..1549312040f 100644 --- a/charts/incubator/rtorrent-rutorrent/Chart.yaml +++ b/charts/incubator/rtorrent-rutorrent/Chart.yaml @@ -23,7 +23,7 @@ sources: - https://truecharts.org/charts/incubator/rtorrent-rutorrent - https://github.com/crazy-max/docker-rtorrent-rutorrent type: application -version: 0.0.1 +version: 0.0.2 annotations: truecharts.org/catagories: | - torrent diff --git a/charts/incubator/rtorrent-rutorrent/questions.yaml b/charts/incubator/rtorrent-rutorrent/questions.yaml index a798bff625e..d882f732627 100644 --- a/charts/incubator/rtorrent-rutorrent/questions.yaml +++ b/charts/incubator/rtorrent-rutorrent/questions.yaml @@ -13,6 +13,7 @@ questions: # Include{containerBasic} # Include{containerAdvanced} # Include{containerConfig} +# Include{podOptions} # Include{serviceRoot} - variable: main label: "Main Service" @@ -36,20 +37,116 @@ questions: type: int default: 8080 required: true -# Include{serviceSelectorExtras} - - variable: rtorrent - label: "Rtorrent" - description: "This port exposes the connectivity port to stay connectable to the torrent sites and links to the rtorrent port" + - variable: torrent + label: "Torrent Service" + description: "Torrent service" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: rtorrent + label: "rTorrent 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: - additional_attrs: true - type: int - attrs: - - variable: port - label: "Port" - description: "This port exposes the container port on the service" type: int default: 33942 required: true + - variable: xmlrpc + label: "XMLRPC Service" + description: "XMLRPC service" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: xmlrpc + label: XMLRPC 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: 8000 + required: true + - variable: dht + label: "DHT Service" + description: "DHT service" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: dht + label: DHT 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: 6881 + required: true + - variable: webdav + label: "WEBDAV Service" + description: "WEBDAV service" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: webdav + label: "WEBDAV 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: 9000 + required: true + - variable: rtinc + label: "RTINC Service" + description: "RTINC service" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: rtinc + label: "RTINC 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: 50000 + required: true # Include{serviceExpertRoot} # Include{serviceExpert} # Include{serviceList} @@ -106,7 +203,6 @@ questions: type: int default: 0 # Include{securityContextContainer} -# Include{securityContextContainer} # Include{securityContextAdvanced} # Include{securityContextPod} - variable: fsGroup