feat(cs2): add RCON to cs2 (#18446)

**Description**
The RCon connection wont establish when the TCP port isn't listening
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [x] ⚙️ 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?**
I manually edited the deployed service to input the TCP port mapping, to
confirm that is what is needed.

**✔️ 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

---------

Signed-off-by: Simon Sinding <5576291+TheSinding@users.noreply.github.com>
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Co-authored-by: Simon Sinding <simon.sinding@danfoss.com>
Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Simon Sinding
2024-05-30 16:18:42 +02:00
committed by GitHub
co-authored by Simon Sinding Xstar97TheNoob Kjeld Schouten Stavros Kois Kjeld Schouten
parent efb39c9cea
commit 7062603d33
3 changed files with 28 additions and 2 deletions
+2 -1
View File
@@ -34,4 +34,5 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/cs2
- https://hub.docker.com/r/ich777/steamcmd
type: application
version: 4.0.9
version: 4.0.10
@@ -0,0 +1,21 @@
---
title: CS2 Installation Notes
---
It's **highly recommened** to setup a password for the RCon.
Command line options can be added in the "Game params" section.
For more information about which console commands are available, for more information see the official Valve [docs](https://developer.valvesoftware.com/wiki/Command_line_options)
## Default Values
| KEY | VALUE |
| ------------------------------------ | ---------------------------------------------- |
| dev | Enabled |
| usercon | Enabled |
| rcon_password | "" |
| rcon_port | 27015 |
| port | 27015 |
| game_type | 0 |
| game_mode | 1 |
| map | de_inferno |
+5 -1
View File
@@ -15,7 +15,11 @@ service:
main:
protocol: udp
port: 27015
rcon:
ports:
rcon:
protocol: tcp
port: 27020
cs2:
game:
id: 730