diff --git a/charts/incubator/server-7daystodie/.helmignore b/charts/incubator/sdtd/.helmignore similarity index 100% rename from charts/incubator/server-7daystodie/.helmignore rename to charts/incubator/sdtd/.helmignore diff --git a/charts/incubator/server-7daystodie/CHANGELOG.md b/charts/incubator/sdtd/CHANGELOG.md similarity index 100% rename from charts/incubator/server-7daystodie/CHANGELOG.md rename to charts/incubator/sdtd/CHANGELOG.md diff --git a/charts/incubator/server-7daystodie/Chart.yaml b/charts/incubator/sdtd/Chart.yaml similarity index 70% rename from charts/incubator/server-7daystodie/Chart.yaml rename to charts/incubator/sdtd/Chart.yaml index 421e9547d20..6fe95144066 100644 --- a/charts/incubator/server-7daystodie/Chart.yaml +++ b/charts/incubator/sdtd/Chart.yaml @@ -1,7 +1,3 @@ -annotations: - truecharts.org/SCALE-support: "true" - truecharts.org/catagories: | - - GameServers apiVersion: v2 appVersion: "latest" dependencies: @@ -9,21 +5,25 @@ dependencies: repository: https://library-charts.truecharts.org version: 10.4.12 deprecated: false -description: "This Docker will download and install SteamCMD. It will also install 7 Days to Die and run it.\r\n" -home: https://truecharts.org/docs/charts/incubator/server-7daystodie -icon: https://truecharts.org/img/hotlink-ok/chart-icons/server-7daystodie.png +description: "This Docker will download and install SteamCMD. It will also install 7 Days to Die and run it." +home: https://truecharts.org/docs/charts/incubator/sdtd +icon: https://truecharts.org/img/hotlink-ok/chart-icons/sdtd.png keywords: - - 7daystodie + - sevendaystodie - GameServers kubeVersion: ">=1.16.0-0" maintainers: - email: info@truecharts.org name: TrueCharts url: https://truecharts.org -name: server-7daystodie +name: sdtd sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/server-7daystodie - https://www.steampowered.com/ - https://hub.docker.com/r/ich777/steamcmd/ type: application -version: 0.0.16 +version: 0.0.17 +annotations: + truecharts.org/SCALE-support: "true" + truecharts.org/catagories: | + - games diff --git a/charts/incubator/server-7daystodie/README.md b/charts/incubator/sdtd/README.md similarity index 100% rename from charts/incubator/server-7daystodie/README.md rename to charts/incubator/sdtd/README.md diff --git a/charts/incubator/server-7daystodie/icon.png b/charts/incubator/sdtd/icon.png similarity index 100% rename from charts/incubator/server-7daystodie/icon.png rename to charts/incubator/sdtd/icon.png diff --git a/charts/incubator/server-7daystodie/questions.yaml b/charts/incubator/sdtd/questions.yaml similarity index 95% rename from charts/incubator/server-7daystodie/questions.yaml rename to charts/incubator/sdtd/questions.yaml index 8543845d0c8..599578540c5 100644 --- a/charts/incubator/server-7daystodie/questions.yaml +++ b/charts/incubator/sdtd/questions.yaml @@ -12,6 +12,26 @@ questions: # Include{recreate} # Include{controllerExpert} # Include{controllerExpertExtraArgs} + - variable: secretEnv + group: "Container 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: Password + 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: "Container Configuration" label: "Image Environment" @@ -20,43 +40,31 @@ questions: type: dict attrs: - variable: GAME_ID - label: 'GAME_ID' - description: "The GAMEID that the container download at startup.(httpsdeveloper.valvesoftware.comwikiDedicatedServersList)If you want to use a static version of the game and not always the latest one then enter this 294420 -beta stablealpha19.4 or 294420 -beta latestexperimental (without quotes) if you want to stay for example on alpha19.4." + 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: "294420" + type: int + default: 294420 - variable: SERVERCONFIG - label: 'SERVERCONFIG' - description: "Please change if your serverconfigfile has another name." + label: Server Config + description: "Please change if your serverconfig file has another name." schema: type: string default: "serverconfig.xml" - variable: GAME_PARAMS - label: 'GAME_PARAMS' + label: Game Params description: "Enter your start up commands for the server." schema: type: string default: "-logfile 7DaysToDie_Data/output_log.txt $@" - - 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: VALIDATE - label: 'VALIDATE' + label: Validate description: "Set the Variable to true if you want to validate the installation otherwise leave it blank." 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 - default: "" - variable: ENABLE_BEPINEX - label: 'ENABLE_BEPINEX' + label: Enable BepInEx description: "If you want to enable BepInEx set this variable to true (without quotes)." schema: type: string diff --git a/charts/incubator/server-7daystodie/templates/common.yaml b/charts/incubator/sdtd/templates/common.yaml similarity index 100% rename from charts/incubator/server-7daystodie/templates/common.yaml rename to charts/incubator/sdtd/templates/common.yaml diff --git a/charts/incubator/server-7daystodie/values.yaml b/charts/incubator/sdtd/values.yaml similarity index 95% rename from charts/incubator/server-7daystodie/values.yaml rename to charts/incubator/sdtd/values.yaml index fc3c3491fbf..0fc313938aa 100644 --- a/charts/incubator/server-7daystodie/values.yaml +++ b/charts/incubator/sdtd/values.yaml @@ -1,61 +1,34 @@ -env: - ENABLE_BEPINEX: "false" - GAME_ID: "294420" - GAME_PARAMS: -logfile 7DaysToDie_Data/output_log.txt $@ - PASSWRD: "" - SERVERCONFIG: serverconfig.xml - USERNAME: "" - VALIDATE: "" image: pullPolicy: IfNotPresent repository: tccr.io/truecharts/7daystodie tag: latest@sha256:37b1541f166de431eae46bf63dff1fe147c91070e257d92f8b342d07dd1c26a2 -persistence: - serverfiles: - enabled: true - mountPath: /serverdata/serverfiles - steamcmd: - enabled: true - mountPath: /serverdata/steamcmd + podSecurityContext: runAsGroup: 0 runAsUser: 0 + securityContext: readOnlyRootFilesystem: false runAsNonRoot: false + +secretEnv: + USERNAME: "" + PASSWRD: "" + +env: + ENABLE_BEPINEX: false + GAME_ID: 294420 + GAME_PARAMS: -logfile 7DaysToDie_Data/output_log.txt $@ + SERVERCONFIG: serverconfig.xml + VALIDATE: "" + service: main: - enabled: true ports: main: - enabled: true port: 26900 protocol: TCP targetPort: 26900 - raknet: - enabled: true - ports: - raknet: - enabled: true - port: 26902 - protocol: UDP - targetPort: 26902 - registeringats: - enabled: true - ports: - registeringats: - enabled: true - port: 27015 - protocol: UDP - targetPort: 27015 - steamcommunica: - enabled: true - ports: - steamcommunica: - enabled: true - port: 26901 - protocol: UDP - targetPort: 26901 steammasterser: enabled: true ports: @@ -64,6 +37,22 @@ service: port: 26900 protocol: UDP targetPort: 26900 + steamcommunica: + enabled: true + ports: + steamcommunica: + enabled: true + port: 26901 + protocol: UDP + targetPort: 26901 + raknet: + enabled: true + ports: + raknet: + enabled: true + port: 26902 + protocol: UDP + targetPort: 26902 unet: enabled: true ports: @@ -88,6 +77,22 @@ service: port: 8082 protocol: TCP targetPort: 8082 + registeringats: + enabled: true + ports: + registeringats: + enabled: true + port: 27015 + protocol: UDP + targetPort: 27015 + +persistence: + serverfiles: + enabled: true + mountPath: /serverdata/serverfiles + steamcmd: + enabled: true + mountPath: /serverdata/steamcmd portal: enabled: true diff --git a/cspell.config.yaml b/cspell.config.yaml index 88e7c6480e9..cce31635f06 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -55,6 +55,7 @@ words: - letsencrypt - lidarr - loadbalancer + - logfile - loolwsd - mailenabled - Mailgun @@ -78,6 +79,7 @@ words: - notebookbar - ornias - ovpn + - PASSWRD - pgid - photoprism - pihole @@ -92,14 +94,17 @@ words: - pvcpath - quotum - radarr + - raknet - ramdisk - rcon - RECORDTYPES + - registeringats - reneg - resolv - sabnzbd - schouten - selfsigned + - SERVERCONFIG - serviceexpert - smallblock - sonarr @@ -108,6 +113,8 @@ words: - srcsets - ssvnc - statefulset + - steamcommunica + - steammasterser - subchart - sublist - subquestion @@ -122,12 +129,15 @@ words: - truecharts - truenas - truetool + - unet - unifi - userspace - valheim - vaultwarden - vdev - vm's + - webbasecontrol + - webpanel - websecure - weejewel - xsystems diff --git a/templates/questions/documentation.yaml b/templates/questions/documentation.yaml index 36fb324a874..b53110bbac4 100644 --- a/templates/questions/documentation.yaml +++ b/templates/questions/documentation.yaml @@ -1,12 +1,12 @@ - variable: docs group: Documentation - label: 'Please read the documentation at https://truecharts.org' + label: "Please read the documentation at https://truecharts.org" schema: additional_attrs: true type: dict attrs: - variable: confirmDocs - label: 'I have checked the documentation' + label: I have checked the documentation schema: type: boolean default: true