From 2513eb86596ee5cf745f07d34fb47b1d71897886 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Wed, 20 Dec 2023 06:47:14 -0500 Subject: [PATCH] fix(teamspeak3): Fix mountpath + other things (#16322) 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._ --------- Signed-off-by: Kjeld Schouten Co-authored-by: Kjeld Schouten --- charts/incubator/teamspeak3/Chart.yaml | 2 +- charts/incubator/teamspeak3/questions.yaml | 16 ++++++++++++---- charts/incubator/teamspeak3/values.yaml | 13 +++++++++++-- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/charts/incubator/teamspeak3/Chart.yaml b/charts/incubator/teamspeak3/Chart.yaml index 924c5eb7579..07900de6ea8 100644 --- a/charts/incubator/teamspeak3/Chart.yaml +++ b/charts/incubator/teamspeak3/Chart.yaml @@ -1,7 +1,7 @@ kubeVersion: ">=1.24.0-0" apiVersion: v2 name: teamspeak3 -version: 8.0.4 +version: 8.1.0 appVersion: 3.13.7 description: TeamSpeak is software for quality voice communication via the Internet. home: https://truecharts.org/charts/incubator/teamspeak3 diff --git a/charts/incubator/teamspeak3/questions.yaml b/charts/incubator/teamspeak3/questions.yaml index d9ad017120e..1e9ddc8dfc2 100644 --- a/charts/incubator/teamspeak3/questions.yaml +++ b/charts/incubator/teamspeak3/questions.yaml @@ -86,8 +86,16 @@ questions: # Include{serviceList} # Include{persistenceRoot} - variable: data - label: "App Config Storage" - description: "Stores the Application Configuration." + label: App Storage + description: Main App Storage + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: config + label: App Config Storage + description: Stores the Application Configuration. schema: additional_attrs: true type: dict @@ -101,13 +109,13 @@ questions: description: "The UserID of the user running the application" schema: type: int - default: 0 + default: 568 - variable: runAsGroup label: "runAsGroup" description: "The groupID of the user running the application" schema: type: int - default: 0 + default: 568 # Include{securityContextContainer} # Include{securityContextAdvanced} # Include{securityContextPod} diff --git a/charts/incubator/teamspeak3/values.yaml b/charts/incubator/teamspeak3/values.yaml index 10948f6fbc9..5debdcefd74 100644 --- a/charts/incubator/teamspeak3/values.yaml +++ b/charts/incubator/teamspeak3/values.yaml @@ -6,14 +6,15 @@ persistence: data: enabled: true mountPath: /var/ts3server + config: + enabled: true + mountPath: /var/run/ts3server portal: open: enabled: false securityContext: container: readOnlyRootFilesystem: false - runAsGroup: 0 - runAsUser: 0 service: files: enabled: true @@ -40,5 +41,13 @@ workload: podSpec: containers: main: + probes: + liveness: + type: tcp + readiness: + type: tcp + startup: + type: tcp env: TS3SERVER_LICENSE: accept +