From 1673a60706dec95bfbfeacd71fc24ee7795d3fd8 Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Sun, 10 Sep 2023 04:15:57 -0400 Subject: [PATCH] fix(eco) fix eco to deploy. (#12296) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Make the eco app deployable. ⚒️ Fixes # **⚙️ 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:** Fails to start due to this file not being able to write/change perms. **✔️ 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 **➕ 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._ --- charts/incubator/eco/Chart.yaml | 2 +- charts/incubator/eco/values.yaml | 27 +++++++++++---------------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/charts/incubator/eco/Chart.yaml b/charts/incubator/eco/Chart.yaml index 2ee1adf0cf2..4b43d1d9abb 100644 --- a/charts/incubator/eco/Chart.yaml +++ b/charts/incubator/eco/Chart.yaml @@ -21,7 +21,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/eco - https://github.com/ich777/docker-steamcmd-server/tree/eco type: application -version: 3.1.0 +version: 3.1.1 annotations: truecharts.org/catagories: | - games diff --git a/charts/incubator/eco/values.yaml b/charts/incubator/eco/values.yaml index e6f1f1f47f5..6217c0a6f26 100644 --- a/charts/incubator/eco/values.yaml +++ b/charts/incubator/eco/values.yaml @@ -14,7 +14,7 @@ service: main: ports: main: - protocol: http + protocol: tcp port: 3001 game: enabled: true @@ -57,16 +57,14 @@ workload: main: probes: liveness: - path: "/" - type: http - port: "{{ .Values.service.main.ports.main.port }}" - readiness: - path: "/" - type: http - port: "{{ .Values.service.main.ports.main.port }}" - startup: + enabled: true + type: tcp + readiness: + enabled: true + type: tcp + startup: + enabled: true type: tcp - port: "{{ .Values.service.main.ports.main.port }}" env: STEAMCMD_DIR: "{{ .Values.persistence.steamcmd.mountPath }}" SERVER_DIR: "{{ .Values.persistence.serverfiles.mountPath }}" @@ -87,12 +85,9 @@ persistence: enabled: true type: configmap objectName: eco-network - targetSelector: - main: - main: - mountPath: /serverdata/serverfiles/Configs/Network.eco - subPath: Network.eco - readOnly: true + mountPath: /serverdata/serverfiles/Configs/Network.eco + subPath: Network.eco + readOnly: true portal: open: