migrate(eco) migrate eco to new common **BREAKING CHANGES** (#11720)
**Description** Migrate to new common, clean up gui and updated to the latest version ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [X] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [X] 🔃 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:** - [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._ --------- Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,7 @@ chart-dirs:
|
||||
excluded-charts:
|
||||
- charts/dependency/subchart
|
||||
- charts/incubator/twingate-connector
|
||||
- charts/incubator/eco
|
||||
- charts/incubator/midarr
|
||||
- charts/incubator/orbital-sync
|
||||
- charts/incubator/plex-meta-manager
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
annotations:
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/catagories: |
|
||||
- GameServers
|
||||
apiVersion: v2
|
||||
appVersion: "latest"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 11.1.2
|
||||
version: 14.0.1
|
||||
deprecated: false
|
||||
description: "This Chart will download and install SteamCMD. It will also install ECO and run it."
|
||||
description: A custom SteamCMD chart that runs ECO.
|
||||
home: https://truecharts.org/charts/incubator/eco
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/eco.png
|
||||
keywords:
|
||||
@@ -23,6 +19,10 @@ maintainers:
|
||||
name: eco
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/eco
|
||||
- https://www.steampowered.com/
|
||||
- https://github.com/ich777/docker-steamcmd-server/tree/eco
|
||||
type: application
|
||||
version: 2.0.8
|
||||
version: 3.0.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- games
|
||||
truecharts.org/SCALE-support: "true"
|
||||
|
||||
@@ -10,71 +10,53 @@ questions:
|
||||
# Include{replicas1}
|
||||
# Include{podSpec}
|
||||
# Include{containerMain}
|
||||
|
||||
- variable: env
|
||||
label: Image Environment
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: USERNAME
|
||||
label: "UserName"
|
||||
description: "Your Steam username (optionally leave it blank)."
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: PASSWRD
|
||||
label: "Password"
|
||||
description: "Your Steam password (optionally leave it blank)"
|
||||
schema:
|
||||
type: string
|
||||
private: true
|
||||
default: ""
|
||||
- variable: GAME_ID
|
||||
label: "Game ID"
|
||||
description: "The ID of the container to download at start up."
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: GAME_PARAMS
|
||||
label: "Game Params"
|
||||
description: "Enter your start up commands for the server."
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: VALIDATE
|
||||
label: "Validate"
|
||||
description: "Set the Variable to true if you want to validate the installation otherwise leave it blank."
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
|
||||
# Include{containerBasic}
|
||||
# Include{containerAdvanced}
|
||||
|
||||
- variable: secretEnv
|
||||
group: "App Configuration"
|
||||
label: "Image Secrets"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: USERNAME
|
||||
label: "USERNAME"
|
||||
description: "Your Steam username goes here if you want to install a game that needs a valid account, otherwise leave it blank (ATTENTION You have to disable Steam Guard)."
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: PASSWRD
|
||||
label: "PASSWRD"
|
||||
description: "Your Steam password goes here if you want to install a game that needs a valid account, otherwise leave it blank (ATTENTION You have to disable Steam Guard)."
|
||||
schema:
|
||||
type: string
|
||||
private: true
|
||||
default: ""
|
||||
- variable: env
|
||||
group: "App Configuration"
|
||||
label: "Image Environment"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: GAME_ID
|
||||
label: "GAME_ID"
|
||||
description: "The GAME_ID that the container download at startup.(https://developer.valvesoftware.com/wiki/Dedicated_Servers_List)"
|
||||
schema:
|
||||
type: string
|
||||
default: "739590"
|
||||
- variable: GAME_PARAMS
|
||||
label: "GAME_PARAMS"
|
||||
description: "Enter your start up commands for the server."
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: VALIDATE
|
||||
label: "VALIDATE"
|
||||
description: "Set the Variable to true if you want to validate the installation otherwise leave it blank."
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
- variable: DATA_PERM
|
||||
label: "DATA_PERM"
|
||||
description: "Container Variable DATAPERM"
|
||||
schema:
|
||||
type: string
|
||||
default: "770"
|
||||
- variable: UMASK
|
||||
label: "UMASK"
|
||||
description: "Container Variable UMASK"
|
||||
schema:
|
||||
type: string
|
||||
default: "000"
|
||||
# Include{containerConfig}
|
||||
# Include{podOptions}
|
||||
# Include{serviceRoot}
|
||||
- variable: main
|
||||
label: "Main Service"
|
||||
description: "The Primary service on which the healthcheck runs, often the webUI"
|
||||
label: Main Service
|
||||
description: The Primary service on which the Minecraft Server runs on
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
@@ -82,36 +64,36 @@ questions:
|
||||
# Include{serviceSelectorLoadBalancer}
|
||||
# Include{serviceSelectorExtras}
|
||||
- variable: main
|
||||
label: "Main Service Port Configuration"
|
||||
label: Main Service Port Configuration
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: port
|
||||
label: "Port"
|
||||
description: "This port exposes the container port on the service"
|
||||
label: Port
|
||||
description: This port exposes the container port on the service
|
||||
schema:
|
||||
type: int
|
||||
default: 3001
|
||||
required: true
|
||||
- variable: udpgameport
|
||||
label: 'udpgameport service'
|
||||
description: "UDP Game Port"
|
||||
- variable: game
|
||||
label: Game Service
|
||||
description: The Game service.
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{serviceSelectorLoadBalancer}
|
||||
# Include{serviceSelectorExtras}
|
||||
- variable: udpgameport
|
||||
label: "udpgameport Service Port Configuration"
|
||||
- variable: game
|
||||
label: Game Service Port Configuration
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: port
|
||||
label: "Port"
|
||||
description: "This port exposes the container port on the service"
|
||||
label: Port
|
||||
description: This port exposes the container port on the service
|
||||
schema:
|
||||
type: int
|
||||
default: 3000
|
||||
@@ -121,16 +103,16 @@ questions:
|
||||
# Include{serviceList}
|
||||
# Include{persistenceRoot}
|
||||
- variable: steamcmd
|
||||
label: "steamcmd Storage"
|
||||
description: "Container Path serverdatasteamcmd"
|
||||
label: App SteamCMD Storage
|
||||
description: Stores the Application SteamCMD.
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
- variable: serverfiles
|
||||
label: "serverfiles Storage"
|
||||
description: "Container Path serverdataserverfiles"
|
||||
label: App Server Files Storage
|
||||
description: Stores the Application Server Files.
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
@@ -139,7 +121,7 @@ questions:
|
||||
# Include{persistenceList}
|
||||
# Include{ingressRoot}
|
||||
- variable: main
|
||||
label: "Main Ingress"
|
||||
label: Main Ingress
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{{- include "tc.v1.common.lib.chart.notes" $ -}}
|
||||
@@ -1,2 +1 @@
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.common.loader.all" . }}
|
||||
{{ include "tc.v1.common.loader.all" . }}
|
||||
|
||||
@@ -1,49 +1,64 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: tccr.io/truecharts/eco
|
||||
tag: latest@sha256:7b380486ce590ba0bb9b3361f84464727126611771ba746210f7a73180d7b987
|
||||
|
||||
podSecurityContext:
|
||||
runAsGroup: 0
|
||||
runAsUser: 0
|
||||
tag: latest@sha256:b68c9690ea433e1d94363ebf5384342652ab2d9316a2d71c740202669c76aca5
|
||||
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
|
||||
secretEnv:
|
||||
USERNAME: ""
|
||||
PASSWRD: ""
|
||||
|
||||
env:
|
||||
DATA_PERM: "770"
|
||||
GAME_ID: "739590"
|
||||
GAME_PARAMS: ""
|
||||
VALIDATE: false
|
||||
container:
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 3001
|
||||
protocol: HTTP
|
||||
protocol: http
|
||||
targetPort: 3001
|
||||
udpgameport:
|
||||
game:
|
||||
enabled: true
|
||||
ports:
|
||||
udpgameport:
|
||||
game:
|
||||
enabled: true
|
||||
port: 3000
|
||||
protocol: UDP
|
||||
protocol: udp
|
||||
targetPort: 3000
|
||||
|
||||
workload:
|
||||
main:
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
probes:
|
||||
liveness:
|
||||
path: "/"
|
||||
type: http
|
||||
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
||||
readiness:
|
||||
path: "/"
|
||||
type: http
|
||||
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
||||
startup:
|
||||
type: tcp
|
||||
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
||||
env:
|
||||
USERNAME: ""
|
||||
PASSWRD: ""
|
||||
GAME_ID: "739590"
|
||||
GAME_PARAMS: ""
|
||||
VALIDATE: false
|
||||
# DATA_PERM: "770"
|
||||
|
||||
persistence:
|
||||
serverfiles:
|
||||
enabled: true
|
||||
mountPath: /serverdata/serverfiles
|
||||
steamcmd:
|
||||
enabled: true
|
||||
mountPath: /serverdata/steamcmd
|
||||
serverfiles:
|
||||
enabled: true
|
||||
mountPath: /serverdata/serverfiles
|
||||
|
||||
portal:
|
||||
enabled: true
|
||||
open:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user