You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove gamePort, as Enshrouded only uses queryPort now
- Add support for setting hooks in values file
- Add experimental role support
- Update readme to reflect new password options
As Enshrouded seems to rely on the query port being enabled to find and connect to servers, the server is configured with the query port exposed by default.
20
-
21
19
The chart will generate a server password, which can be retrieved with
A basic chart to deploy Enshrouded dedicated servers.
6
6
@@ -22,22 +22,25 @@ Kubernetes: `>=1.26.0-0`
22
22
| gameServer.backup.cron_expression | string |`"*/15 * * * *"`| Cron expression for backup scheduling. Defines when the backups should be triggered. The default value schedules a backup every 15 minutes. Use standard cron format. |
23
23
| gameServer.backup.directory | string |`"./backup"`| Directory for backups. Supports relative and absolute paths. |
24
24
| gameServer.backup.max_count | int |`0`| Number of backups to keep. When set to 0, never delete backups |
25
-
| gameServer.community.enabled | bool |`true`| Enable if you want your server to show up as a community server. Exposes the Steam query port. |
26
-
| gameServer.community.service.nodePort | int |`nil`| Node port a community server (for NodePort service type). Defaults to Node port for game server + 1 |
27
-
| gameServer.community.service.port | int |`nil`| Service port for a community server. Defaults to the server port + 1 |
28
25
| gameServer.existingSecret | string |`""`| Name of an existing secret for the server password. |
29
26
| gameServer.gameBranch | string |`"public"`| Which Steam branch to use for the game server. |
30
27
| gameServer.logDir | string |`"./logs"`| Directory for logs sets logDirectory in game server config |
31
28
| gameServer.password | string |`""`| Server password If one is not provided or an existing secret it not provided, one will be generated. |
32
29
| gameServer.players | int |`16`| Number of players allowed on the server concurrently. |
30
+
| gameServer.roles | list |`[]`| A list of roles for the game server. Each role includes a name, an optional password, a list of permissions, and the number of reserved slots. If the password is empty or missing, one will be generated. The role passwords can be provided with an existing secret via `existingSecret`, where the key must have the format `<role-name>-password`. See the [official docs](https://enshrouded.zendesk.com/hc/en-us/articles/19191581489309-Server-Roles-Configuration) for more details on roles. |
33
31
| gameServer.saveDir | string |`"./savegame"`| Directory for game saves sets saveDirectory in game server config |
34
32
| gameServer.serverIP | string |`"0.0.0.0"`| Server IP used Enshrouded server settings |
35
33
| gameServer.serverName | string |`""`| Custom server name. |
36
34
| gameServer.service.nodePort | int |`nil`| Node port for the game server (for NodePort service type). |
37
-
| gameServer.service.port | int |`15636`| Service port for the game server. |
35
+
| gameServer.service.port | int |`15637`| Service port for the game server. |
38
36
| gameServer.steamcmdArgs | string |`"validate"`| Extra arguments to pass to steamcmd when updating. |
39
37
| gameServer.update.check_players | bool |`false`| Check if players are connected before updating. |
40
38
| gameServer.update.cron_expression | string |`"*/30 * * * *"`| Cron expression for updates. Defines when the update check should run. The default value checks for updates every half hour. Use standard cron format. |
39
+
| hooks.backup.post | string |`""`| Command to run after backup & cleanup |
40
+
| hooks.backup.pre | string |`""`| Command to run before backup & cleanup |
41
+
| hooks.bootstrap | string |`""`| Command to run after general bootstrap |
42
+
| hooks.update.post | string |`""`| Command to run after update |
43
+
| hooks.update.pre | string |`""`| Command to run before update |
Copy file name to clipboardExpand all lines: chart/enshrouded-k8s/values.yaml
+30-14Lines changed: 30 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -40,20 +40,9 @@ gameServer:
40
40
password: ""
41
41
service:
42
42
# -- Service port for the game server.
43
-
port: 15636
43
+
port: 15637
44
44
# -- (int) Node port for the game server (for NodePort service type).
45
45
nodePort:
46
-
community:
47
-
# -- Enable if you want your server to show up as a community server.
48
-
# Exposes the Steam query port.
49
-
enabled: true
50
-
service:
51
-
# -- (int) Service port for a community server.
52
-
# Defaults to the server port + 1
53
-
port:
54
-
# -- (int) Node port a community server (for NodePort service type).
55
-
# Defaults to Node port for game server + 1
56
-
nodePort:
57
46
# -- Server IP used Enshrouded server settings
58
47
serverIP: "0.0.0.0"
59
48
@@ -87,8 +76,35 @@ gameServer:
87
76
gameBranch: "public"
88
77
# -- Extra arguments to pass to steamcmd when updating.
89
78
steamcmdArgs: "validate"
90
-
91
-
79
+
# -- A list of roles for the game server.
80
+
# Each role includes a name, an optional password, a list of permissions, and the number of reserved slots. If the password is empty or missing, one will be generated. The role passwords can be provided with an existing secret via `existingSecret`, where the key must have the format `<role-name>-password`.
81
+
# See the [official docs](https://enshrouded.zendesk.com/hc/en-us/articles/19191581489309-Server-Roles-Configuration) for more details on roles.
82
+
roles: []
83
+
# - name: "default" # The name of the role.
84
+
# password: "" # (Optional) The password for the role.
85
+
# permissions: # A list of permissions granted to this role.
86
+
# - "kick_ban" # Allows the role to kick and ban players.
87
+
# - "access_inventories" # Allows the role to access player inventories.
88
+
# - "edit_base" # Allows the role to edit the base.
89
+
# - "extend_base" # Allows the role to extend the base.
90
+
# reserved_slots: 16 # The number of slots reserved for this role.
91
+
# - name: "guests" # A role with no permissions
92
+
# reserved_slots: 1
93
+
94
+
95
+
hooks:
96
+
# -- Command to run after general bootstrap
97
+
bootstrap: ""
98
+
update:
99
+
# -- Command to run before update
100
+
pre: ""
101
+
# -- Command to run after update
102
+
post: ""
103
+
backup:
104
+
# -- Command to run before backup & cleanup
105
+
pre: ""
106
+
# -- Command to run after backup & cleanup
107
+
post: ""
92
108
93
109
# -- Define extra environment variables to pass directly to the container.
94
110
# Any env vars which are set by other values will be overridden.
0 commit comments