From 7062603d330cb3f9c583eb3732e66da23fb4182b Mon Sep 17 00:00:00 2001 From: Simon Sinding <5576291+TheSinding@users.noreply.github.com> Date: Thu, 30 May 2024 16:18:42 +0200 Subject: [PATCH] feat(cs2): add RCON to cs2 (#18446) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** The RCon connection wont establish when the TCP port isn't listening ⚒️ Fixes # **⚙️ 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 Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Signed-off-by: Kjeld Schouten Co-authored-by: Simon Sinding Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Co-authored-by: Kjeld Schouten Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Kjeld Schouten --- charts/stable/cs2/Chart.yaml | 3 ++- charts/stable/cs2/docs/installation_notes.md | 21 ++++++++++++++++++++ charts/stable/cs2/values.yaml | 6 +++++- 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 charts/stable/cs2/docs/installation_notes.md diff --git a/charts/stable/cs2/Chart.yaml b/charts/stable/cs2/Chart.yaml index 2a3e771420a..47457a59778 100644 --- a/charts/stable/cs2/Chart.yaml +++ b/charts/stable/cs2/Chart.yaml @@ -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 + diff --git a/charts/stable/cs2/docs/installation_notes.md b/charts/stable/cs2/docs/installation_notes.md new file mode 100644 index 00000000000..6659dac8270 --- /dev/null +++ b/charts/stable/cs2/docs/installation_notes.md @@ -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 | diff --git a/charts/stable/cs2/values.yaml b/charts/stable/cs2/values.yaml index e918cb610b1..f60b8977db2 100644 --- a/charts/stable/cs2/values.yaml +++ b/charts/stable/cs2/values.yaml @@ -15,7 +15,11 @@ service: main: protocol: udp port: 27015 - + rcon: + ports: + rcon: + protocol: tcp + port: 27020 cs2: game: id: 730