Skip to content

Commit

Permalink
bump image version
Browse files Browse the repository at this point in the history
Also include new difficulty preset in values
  • Loading branch information
bdelwood committed Nov 3, 2024
1 parent b05ea46 commit 623d791
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions chart/enshrouded-k8s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ apiVersion: v2
description: A basic chart to deploy Enshrouded dedicated servers.
name: enshrouded-k8s
type: application
version: 0.5.0
appVersion: "1.2.0"
version: 0.6.0
appVersion: "1.3.1"
kubeVersion: ">=1.26.0-0"
sources:
- https://github.com/bdelwood/enshrouded-k8s
Expand Down
5 changes: 3 additions & 2 deletions chart/enshrouded-k8s/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# enshrouded-k8s

![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.2.0](https://img.shields.io/badge/AppVersion-1.2.0-informational?style=flat-square)
![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.1](https://img.shields.io/badge/AppVersion-1.3.1-informational?style=flat-square)

A basic chart to deploy Enshrouded dedicated servers.

Expand All @@ -22,6 +22,7 @@ Kubernetes: `>=1.26.0-0`
| 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. |
| gameServer.backup.directory | string | `"./backup"` | Directory for backups. Supports relative and absolute paths. |
| gameServer.backup.max_count | int | `0` | Number of backups to keep. When set to 0, never delete backups |
| gameServer.difficulty | string | `"Default"` | Server difficulty. Preset can be `Default \| Relaxed \| Hard \| Survival \| Custom`. Must be `Custom` to set individual server difficulty settings. Use `extraEnv` and prepend with `SERVER_GS_`. See container image [docs](https://github.com/mornedhels/enshrouded-server/blob/main/docs/SERVER_DIFFICULTY.md) for more info. |
| gameServer.existingSecret | string | `""` | Name of an existing secret for the server password. |
| gameServer.gameBranch | string | `"public"` | Which Steam branch to use for the game server. |
| gameServer.logDir | string | `"./logs"` | Directory for logs sets logDirectory in game server config |
Expand Down Expand Up @@ -70,4 +71,4 @@ Kubernetes: `>=1.26.0-0`
| updateStrategy | object | `{"type":"Recreate"}` | Update strategy for deployments. |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
1 change: 1 addition & 0 deletions chart/enshrouded-k8s/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ data:
SERVER_ROLE_{{ $index }}_CAN_{{ upper $permission }}: true
{{- end }}
{{- end }}
SERVER_GS_PRESET: "{{ .Values.gameServer.difficulty }}"
BOOTSTRAP_HOOK: "{{ .Values.hooks.bootstrap }}"
UPDATE_PRE_HOOK: "{{ .Values.hooks.update.pre }}"
UPDATE_POST_HOOK: "{{ .Values.hooks.update.post }}"
Expand Down
7 changes: 6 additions & 1 deletion chart/enshrouded-k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ gameServer:
# - "extend_base" # Allows the role to extend the base.
# reserved_slots: 16 # The number of slots reserved for this role.
# - name: "guests" # A role with no permissions
# reserved_slots: 1
# reserved_slots: 1
# -- Server difficulty.
# Preset can be `Default \| Relaxed \| Hard \| Survival \| Custom`.
# Must be `Custom` to set individual server difficulty settings. Use `extraEnv` and prepend with `SERVER_GS_`.
# See container image [docs](https://github.com/mornedhels/enshrouded-server/blob/main/docs/SERVER_DIFFICULTY.md) for more info.
difficulty: "Default"


hooks:
Expand Down

0 comments on commit 623d791

Please sign in to comment.