From 34d10ddc2e01edecd4ecef5a7eb9ed9d5298dcf5 Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Sat, 30 Mar 2024 08:21:36 -0400 Subject: [PATCH] fix(wifi-card) add main port and portal (#19979) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Fixes wifi-card ⚒️ Fixes #19976 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [X] 🪛 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:** - [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 - [X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ 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: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/stable/wifi-card/Chart.yaml | 2 +- charts/stable/wifi-card/questions.yaml | 46 ++++++++++++++++++++++---- charts/stable/wifi-card/values.yaml | 27 +++++---------- 3 files changed, 49 insertions(+), 26 deletions(-) diff --git a/charts/stable/wifi-card/Chart.yaml b/charts/stable/wifi-card/Chart.yaml index 658a7bb287f..d084252abc4 100644 --- a/charts/stable/wifi-card/Chart.yaml +++ b/charts/stable/wifi-card/Chart.yaml @@ -34,4 +34,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/wifi-card - https://hub.docker.com/r/bndw/wifi-card type: application -version: 5.7.5 +version: 5.8.0 diff --git a/charts/stable/wifi-card/questions.yaml b/charts/stable/wifi-card/questions.yaml index 61d71655a96..d763d294831 100644 --- a/charts/stable/wifi-card/questions.yaml +++ b/charts/stable/wifi-card/questions.yaml @@ -1,5 +1,7 @@ # Include{groups} -portals: {} +portals: + open: +# Include{portalLink} questions: # Include{global} # Include{workload} @@ -7,22 +9,52 @@ questions: # Include{replicas1} # Include{podSpec} # Include{containerMain} + # Include{containerBasic} # Include{containerAdvanced} + +# Include{containerConfig} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - 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: 8888 + required: true # Include{serviceExpertRoot} # Include{serviceExpert} # Include{serviceList} # Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: Main Ingress + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressAdvanced} +# Include{ingressList} # Include{securityContextRoot} - 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 of the user running the application" + label: runAsGroup + description: The groupID of the user running the application schema: type: int default: 0 @@ -30,8 +62,8 @@ questions: # Include{securityContextAdvanced} # Include{securityContextPod} - 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/stable/wifi-card/values.yaml b/charts/stable/wifi-card/values.yaml index b7a757987f6..4b0c5154099 100644 --- a/charts/stable/wifi-card/values.yaml +++ b/charts/stable/wifi-card/values.yaml @@ -2,30 +2,21 @@ image: pullPolicy: IfNotPresent repository: bndw/wifi-card tag: latest@sha256:0907450a0f677fadc87ff754dc7ed52f70da9165979b8659f5eecff08d380a8b -persistence: {} -portal: - open: - enabled: false + securityContext: container: readOnlyRootFilesystem: false runAsGroup: 0 runAsUser: 0 + service: main: - enabled: false ports: main: - enabled: false -workload: - main: - podSpec: - containers: - main: - probes: - liveness: - enabled: false - readiness: - enabled: false - startup: - enabled: false + protocol: http + targetPort: 80 + port: 8888 + +portal: + open: + enabled: true