diff --git a/games/valheim/2.0.23/helm-values.md b/games/valheim/2.0.23/helm-values.md
deleted file mode 100644
index 6e41ae689e0..00000000000
--- a/games/valheim/2.0.23/helm-values.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# Default Helm-Values
-
-TrueCharts is primarily build to supply TrueNAS SCALE Apps.
-However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
-
-Most of our Apps also consume our "common" Helm Chart.
-If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
-You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
-
-## Values
-
-| Key | Type | Default | Description |
-|-----|------|---------|-------------|
-| env | object | See below | environment variables. See [image docs](https://github.com/lloesche/valheim-server-docker#environment-variables) for more details. |
-| env.TZ | string | `"UTC"` | Set the container timezone |
-| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
-| image.repository | string | `"tccr.io/truecharts/valheim-server"` | image repository |
-| image.tag | string | `"latest@sha256:8f87fda54429923cac3601d581d6dc0ff273ef6438374e9f4b1e5ac1141b461d"` | image tag |
-| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
-| podSecurityContext.runAsGroup | int | `0` | |
-| podSecurityContext.runAsUser | int | `0` | |
-| secret.SERVER_PASS | string | `"secret"` | |
-| secret.SUPERVISOR_HTTP_PASS | string | `"secret"` | |
-| secret.SUPERVISOR_HTTP_USER | string | `"admin"` | |
-| securityContext.readOnlyRootFilesystem | bool | `false` | |
-| securityContext.runAsNonRoot | bool | `false` | |
-| service | object | See values.yaml | Configures service settings for the chart. |
-
-All Rights Reserved - The TrueCharts Project
diff --git a/games/valheim/2.0.23/CHANGELOG.md b/games/valheim/2.0.24/CHANGELOG.md
similarity index 91%
rename from games/valheim/2.0.23/CHANGELOG.md
rename to games/valheim/2.0.24/CHANGELOG.md
index 89345a5f967..fdd613d44b7 100644
--- a/games/valheim/2.0.23/CHANGELOG.md
+++ b/games/valheim/2.0.24/CHANGELOG.md
@@ -1,6 +1,15 @@
# Changelog
+
+### [valheim-2.0.24](https://github.com/truecharts/apps/compare/valheim-2.0.23...valheim-2.0.24) (2022-02-21)
+
+#### Fix
+
+* Correctly map ports when changed in the UI ([#1921](https://github.com/truecharts/apps/issues/1921))
+
+
+
### [valheim-2.0.23](https://github.com/truecharts/apps/compare/valheim-2.0.22...valheim-2.0.23) (2022-02-21)
@@ -88,12 +97,3 @@
#### Chore
* update helm general non-major helm releases ([#1759](https://github.com/truecharts/apps/issues/1759))
-
-#### Fix
-
-* set additional_attrs: true on all dicts ([#1750](https://github.com/truecharts/apps/issues/1750))
-
-
-
-
-### [valheim-2.0.13](https://github.com/truecharts/apps/compare/valheim-2.0.12...valheim-2.0.13) (2022-01-18)
diff --git a/games/valheim/2.0.23/CONFIG.md b/games/valheim/2.0.24/CONFIG.md
similarity index 100%
rename from games/valheim/2.0.23/CONFIG.md
rename to games/valheim/2.0.24/CONFIG.md
diff --git a/games/valheim/2.0.23/Chart.lock b/games/valheim/2.0.24/Chart.lock
similarity index 78%
rename from games/valheim/2.0.23/Chart.lock
rename to games/valheim/2.0.24/Chart.lock
index 92b3d0b67f1..9d351f606e2 100644
--- a/games/valheim/2.0.23/Chart.lock
+++ b/games/valheim/2.0.24/Chart.lock
@@ -3,4 +3,4 @@ dependencies:
repository: https://truecharts.org
version: 8.15.4
digest: sha256:d6aca168828f3fef09de9fbc634c303d040d74299b508a7cedf473f66f5a4503
-generated: "2022-02-21T16:55:45.131238481Z"
+generated: "2022-02-21T18:44:38.443924501Z"
diff --git a/games/valheim/2.0.23/Chart.yaml b/games/valheim/2.0.24/Chart.yaml
similarity index 97%
rename from games/valheim/2.0.23/Chart.yaml
rename to games/valheim/2.0.24/Chart.yaml
index 2514458acbb..146b780bb03 100644
--- a/games/valheim/2.0.23/Chart.yaml
+++ b/games/valheim/2.0.24/Chart.yaml
@@ -18,7 +18,7 @@ name: valheim
sources:
- https://github.com/lloesche/valheim-server-docker
- https://hub.docker.com/r/lloesche/valheim-server
-version: 2.0.23
+version: 2.0.24
annotations:
truecharts.org/catagories: |
- media
diff --git a/games/valheim/2.0.23/README.md b/games/valheim/2.0.24/README.md
similarity index 100%
rename from games/valheim/2.0.23/README.md
rename to games/valheim/2.0.24/README.md
diff --git a/games/valheim/2.0.23/app-readme.md b/games/valheim/2.0.24/app-readme.md
similarity index 100%
rename from games/valheim/2.0.23/app-readme.md
rename to games/valheim/2.0.24/app-readme.md
diff --git a/games/valheim/2.0.23/charts/common-8.15.4.tgz b/games/valheim/2.0.24/charts/common-8.15.4.tgz
similarity index 100%
rename from games/valheim/2.0.23/charts/common-8.15.4.tgz
rename to games/valheim/2.0.24/charts/common-8.15.4.tgz
diff --git a/games/valheim/2.0.24/helm-values.md b/games/valheim/2.0.24/helm-values.md
new file mode 100644
index 00000000000..4c1478d5728
--- /dev/null
+++ b/games/valheim/2.0.24/helm-values.md
@@ -0,0 +1,58 @@
+# Default Helm-Values
+
+TrueCharts is primarily build to supply TrueNAS SCALE Apps.
+However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
+
+Most of our Apps also consume our "common" Helm Chart.
+If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
+You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
+
+## Values
+
+| Key | Type | Default | Description |
+|-----|------|---------|-------------|
+| env.BACKUPS | bool | `true` | |
+| env.BACKUPS_DIRECTORY | string | `"/backups"` | |
+| env.BACKUPS_INTERVAL | int | `43200` | |
+| env.BACKUPS_MAX_AGE | int | `3` | |
+| env.SERVER_NAME | string | `"My Server"` | |
+| env.SERVER_PORT | string | `"{{ .Values.service.valheim.ports.valheim1.port }}"` | |
+| env.SERVER_PUBLIC | bool | `true` | |
+| env.STATUS_HTTP | bool | `true` | |
+| env.STATUS_HTTP_PORT | string | `"{{ .Values.service.main.ports.main.port }}"` | |
+| env.SUPERVISOR_HTTP | bool | `true` | |
+| env.SUPERVISOR_HTTP_PORT | string | `"{{ .Values.service.supervisor.ports.supervisor.port }}"` | |
+| env.TZ | string | `"UTC"` | |
+| env.UPDATE_INTERVAL | int | `10800` | |
+| env.WORLD_NAME | string | `"Dedicated"` | |
+| image.pullPolicy | string | `"IfNotPresent"` | |
+| image.repository | string | `"tccr.io/truecharts/valheim-server"` | |
+| image.tag | string | `"latest@sha256:8f87fda54429923cac3601d581d6dc0ff273ef6438374e9f4b1e5ac1141b461d"` | |
+| persistence.backups.enabled | bool | `true` | |
+| persistence.backups.mountPath | string | `"/backups"` | |
+| persistence.config.enabled | bool | `true` | |
+| persistence.config.mountPath | string | `"/config"` | |
+| podSecurityContext.runAsGroup | int | `0` | |
+| podSecurityContext.runAsUser | int | `0` | |
+| secret.SERVER_PASS | string | `"secret"` | |
+| secret.SUPERVISOR_HTTP_PASS | string | `"secret"` | |
+| secret.SUPERVISOR_HTTP_USER | string | `"admin"` | |
+| securityContext.readOnlyRootFilesystem | bool | `false` | |
+| securityContext.runAsNonRoot | bool | `false` | |
+| service.main.ports.main.port | int | `9010` | |
+| service.supervisor.enabled | bool | `true` | |
+| service.supervisor.ports.supervisor.enabled | bool | `true` | |
+| service.supervisor.ports.supervisor.port | int | `9011` | |
+| service.valheim.enabled | bool | `true` | |
+| service.valheim.ports.valheim1.enabled | bool | `true` | |
+| service.valheim.ports.valheim1.port | int | `2456` | |
+| service.valheim.ports.valheim1.protocol | string | `"UDP"` | |
+| service.valheim.ports.valheim2.enabled | bool | `true` | |
+| service.valheim.ports.valheim2.port | int | `2457` | |
+| service.valheim.ports.valheim2.protocol | string | `"UDP"` | |
+| service.valheim.ports.valheim3.enabled | bool | `true` | |
+| service.valheim.ports.valheim3.port | int | `2458` | |
+| service.valheim.ports.valheim3.protocol | string | `"UDP"` | |
+| service.valheim.type | string | `"LoadBalancer"` | |
+
+All Rights Reserved - The TrueCharts Project
diff --git a/games/valheim/2.0.23/ix_values.yaml b/games/valheim/2.0.24/ix_values.yaml
similarity index 63%
rename from games/valheim/2.0.23/ix_values.yaml
rename to games/valheim/2.0.24/ix_values.yaml
index 9b9c1111914..8fcc801d1b6 100644
--- a/games/valheim/2.0.23/ix_values.yaml
+++ b/games/valheim/2.0.24/ix_values.yaml
@@ -1,26 +1,21 @@
image:
- # -- image repository
repository: tccr.io/truecharts/valheim-server
- # -- image tag
tag: latest@sha256:8f87fda54429923cac3601d581d6dc0ff273ef6438374e9f4b1e5ac1141b461d
- # -- image pull policy
pullPolicy: IfNotPresent
secret:
SUPERVISOR_HTTP_USER: admin
SUPERVISOR_HTTP_PASS: secret
SERVER_PASS: secret
-# -- environment variables. See [image docs](https://github.com/lloesche/valheim-server-docker#environment-variables) for more details.
-# @default -- See below
+
env:
- # -- Set the container timezone
TZ: UTC
STATUS_HTTP: true
- STATUS_HTTP_PORT: 9010
- SUPERVISOR_HTTP_PORT: 9011
+ STATUS_HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
+ SUPERVISOR_HTTP_PORT: "{{ .Values.service.supervisor.ports.supervisor.port }}"
SUPERVISOR_HTTP: true
SERVER_NAME: My Server
- SERVER_PORT: 2456
+ SERVER_PORT: "{{ .Values.service.valheim.ports.valheim1.port }}"
WORLD_NAME: Dedicated
SERVER_PUBLIC: true
UPDATE_INTERVAL: 10800
@@ -37,43 +32,34 @@ podSecurityContext:
runAsUser: 0
runAsGroup: 0
-# -- Configures service settings for the chart.
-# @default -- See values.yaml
service:
main:
ports:
main:
port: 9010
- targetPort: 9010
supervisor:
enabled: true
ports:
supervisor:
enabled: true
port: 9011
- targetPort: 9011
valheim:
enabled: true
type: LoadBalancer
ports:
- valheim-1:
+ valheim1:
enabled: true
port: 2456
- targetPort: 2456
protocol: UDP
- valheim-2:
+ valheim2:
enabled: true
port: 2457
- targetPort: 2457
protocol: UDP
- valheim-3:
+ valheim3:
enabled: true
port: 2458
protocol: UDP
- targetPort: 2458
-# -- Configure persistence settings for the chart under this key.
-# @default -- See values.yaml
persistence:
config:
enabled: true
diff --git a/games/valheim/2.0.23/questions.yaml b/games/valheim/2.0.24/questions.yaml
similarity index 99%
rename from games/valheim/2.0.23/questions.yaml
rename to games/valheim/2.0.24/questions.yaml
index c14815c9970..1011852c62e 100644
--- a/games/valheim/2.0.23/questions.yaml
+++ b/games/valheim/2.0.24/questions.yaml
@@ -714,7 +714,7 @@ questions:
additional_attrs: true
type: dict
attrs:
- - variable: valheim-1
+ - variable: valheim1
label: "valheim-1 Service Port Configuration"
schema:
additional_attrs: true
@@ -762,7 +762,7 @@ questions:
type: int
default: 2456
- - variable: valheim-2
+ - variable: valheim2
label: "valheim-2 Service Port Configuration"
schema:
additional_attrs: true
@@ -810,7 +810,7 @@ questions:
type: int
default: 2457
- - variable: valheim-3
+ - variable: valheim3
label: "valheim-3 Service Port Configuration"
schema:
additional_attrs: true
diff --git a/games/valheim/2.0.23/security.md b/games/valheim/2.0.24/security.md
similarity index 100%
rename from games/valheim/2.0.23/security.md
rename to games/valheim/2.0.24/security.md
diff --git a/games/valheim/2.0.23/templates/common.yaml b/games/valheim/2.0.24/templates/common.yaml
similarity index 100%
rename from games/valheim/2.0.23/templates/common.yaml
rename to games/valheim/2.0.24/templates/common.yaml
diff --git a/games/valheim/2.0.23/values.yaml b/games/valheim/2.0.24/values.yaml
similarity index 100%
rename from games/valheim/2.0.23/values.yaml
rename to games/valheim/2.0.24/values.yaml