fix(storm) add the port variable, clean up the gui and set a static semver tag for storm. (#17054)

**Description**
Clean up the chart, added additional options, housekeeping, and set a
static version for the image.
⚒️ Fixes  #17051

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [X] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [X] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 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
- [X] ⬆️ 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._

---------

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Xstar97TheNoob
2024-01-09 19:10:27 +01:00
committed by GitHub
co-authored by Kjeld Schouten
parent a918100942
commit ab37a26197
4 changed files with 40 additions and 28 deletions
+5 -5
View File
@@ -2,15 +2,15 @@ kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: storm name: storm
version: 4.1.6 version: 4.1.6
appVersion: latest appVersion: "1.3.0"
description: Introducing Storm description: A Modern Deluge Interface.
home: https://truecharts.org/charts/incubator/storm home: https://truecharts.org/charts/stable/storm
icon: https://truecharts.org/img/hotlink-ok/chart-icons/storm.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/storm.png
deprecated: false deprecated: false
sources: sources:
- https://github.com/relvacode/storm/pkgs/container/storm - https://github.com/relvacode/storm/pkgs/container/storm
- https://github.com/relvacode/storm - https://github.com/relvacode/storm
- https://github.com/truecharts/charts/tree/master/charts/incubator/storm - https://github.com/truecharts/charts/tree/master/charts/stable/storm
- https://ghcr.io/relvacode/storm - https://ghcr.io/relvacode/storm
maintainers: maintainers:
- name: TrueCharts - name: TrueCharts
@@ -34,5 +34,5 @@ annotations:
truecharts.org/category: Downloaders truecharts.org/category: Downloaders
truecharts.org/max_helm_version: "3.13" truecharts.org/max_helm_version: "3.13"
truecharts.org/min_helm_version: "3.12" truecharts.org/min_helm_version: "3.12"
truecharts.org/train: incubator truecharts.org/train: stable
type: application type: application
+24 -17
View File
@@ -9,6 +9,7 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
- variable: env - variable: env
label: Image Environment label: Image Environment
schema: schema:
@@ -16,43 +17,49 @@ questions:
type: dict type: dict
attrs: attrs:
- variable: DELUGE_RPC_HOSTNAME - variable: DELUGE_RPC_HOSTNAME
label: "DELUGE_RPC_HOSTNAME" label: Deluge RPC Hostname
description: "Change this to the current name for the deluge container you want to connect storms webUI to" description: "The Deluge RPC hostname."
schema: schema:
type: string type: string
default: "" default: ""
- variable: DELUGE_RPC_PORT
label: Deluge RPC Port
description: "The Deluge RPC port."
schema:
type: int
default: 58846
- variable: DELUGE_RPC_USERNAME - variable: DELUGE_RPC_USERNAME
label: "DELUGE_RPC_USERNAME" label: Deluge RPC Username
description: "The username storm will use to connect to the deluge container. Set this in appdatadelugeauth file" description: "The username from Deluge auth."
schema: schema:
type: string type: string
default: "" default: ""
- variable: DELUGE_RPC_PASSWORD - variable: DELUGE_RPC_PASSWORD
label: "DELUGE_RPC_PASSWORD" label: Deluge RPC Password
description: "The password storm will use to connect to the deluge container. Set this in appdatadelugeauth file" description: "The password from Deluge auth."
schema: schema:
type: string type: string
default: "" default: ""
- variable: DELUGE_RPC_VERSION - variable: DELUGE_RPC_VERSION
label: "DELUGE_RPC_VERSION" label: Deluge RPC Version
description: "RPC connection version to use.Depends on your deluge version." description: "RPC connection version to use. (Depends on your deluge version)"
schema: schema:
type: string type: string
default: "v2" default: "v2"
- variable: STORM_API_KEY - variable: STORM_API_KEY
label: "STORM_API_KEY" label: Storm API Key
description: "Set this to a reasonably secure password.Any requests made to Storm must now provide the API key in the request." description: "Enable authentication for the Storm API."
schema: schema:
type: string type: string
default: "" default: ""
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main # Include{serviceMain}
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
+1
View File
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
+10 -6
View File
@@ -1,23 +1,22 @@
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: ghcr.io/relvacode/storm repository: ghcr.io/relvacode/storm
tag: latest@sha256:9f50d643af5a83424331a93a212e320407a1a1577f0202e6141f7f5245d2711a tag: v1.3.0@sha256:9f50d643af5a83424331a93a212e320407a1a1577f0202e6141f7f5245d2711a
persistence: {}
portal:
open:
enabled: true
securityContext: securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsUser: 0 runAsUser: 0
service: service:
main: main:
ports: ports:
main: main:
port: 8221 port: 8221
protocol: tcp protocol: http
targetPort: 8221 targetPort: 8221
workload: workload:
main: main:
podSpec: podSpec:
@@ -25,7 +24,12 @@ workload:
main: main:
env: env:
DELUGE_RPC_HOSTNAME: "" DELUGE_RPC_HOSTNAME: ""
DELUGE_RPC_PORT: 58846
DELUGE_RPC_PASSWORD: "" DELUGE_RPC_PASSWORD: ""
DELUGE_RPC_USERNAME: "" DELUGE_RPC_USERNAME: ""
DELUGE_RPC_VERSION: v2 DELUGE_RPC_VERSION: v2
STORM_API_KEY: "" STORM_API_KEY: ""
portal:
open:
enabled: true