fix(teamspeak3): Fix mountpath + other things (#16322)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ 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?**
<!--
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:**

- [ ] ⚖️ 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 <kjeld@schouten-lebbing.nl>
Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
StevenMcElligott 2023-12-20 06:47:14 -05:00 committed by GitHub
parent 89140bfb5b
commit 2513eb8659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 7 deletions

View File

@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: teamspeak3 name: teamspeak3
version: 8.0.4 version: 8.1.0
appVersion: 3.13.7 appVersion: 3.13.7
description: TeamSpeak is software for quality voice communication via the Internet. description: TeamSpeak is software for quality voice communication via the Internet.
home: https://truecharts.org/charts/incubator/teamspeak3 home: https://truecharts.org/charts/incubator/teamspeak3

View File

@ -86,8 +86,16 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: data - variable: data
label: "App Config Storage" label: App Storage
description: "Stores the Application Configuration." 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: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@ -101,13 +109,13 @@ questions:
description: "The UserID of the user running the application" description: "The UserID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 568
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 568
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}

View File

@ -6,14 +6,15 @@ persistence:
data: data:
enabled: true enabled: true
mountPath: /var/ts3server mountPath: /var/ts3server
config:
enabled: true
mountPath: /var/run/ts3server
portal: portal:
open: open:
enabled: false enabled: false
securityContext: securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0
runAsUser: 0
service: service:
files: files:
enabled: true enabled: true
@ -40,5 +41,13 @@ workload:
podSpec: podSpec:
containers: containers:
main: main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env: env:
TS3SERVER_LICENSE: accept TS3SERVER_LICENSE: accept