diff --git a/community/palworld/1.0.0/Chart.lock b/community/palworld/1.0.1/Chart.lock similarity index 100% rename from community/palworld/1.0.0/Chart.lock rename to community/palworld/1.0.1/Chart.lock diff --git a/community/palworld/1.0.0/Chart.yaml b/community/palworld/1.0.1/Chart.yaml similarity index 98% rename from community/palworld/1.0.0/Chart.yaml rename to community/palworld/1.0.1/Chart.yaml index 3eac6242b7..e032e70d2d 100644 --- a/community/palworld/1.0.0/Chart.yaml +++ b/community/palworld/1.0.1/Chart.yaml @@ -3,7 +3,7 @@ description: Palworld is a multiplayer, open-world survival crafting game where annotations: title: Palworld type: application -version: 1.0.0 +version: 1.0.1 apiVersion: v2 appVersion: palworld kubeVersion: '>=1.16.0-0' diff --git a/community/palworld/1.0.0/README.md b/community/palworld/1.0.1/README.md similarity index 100% rename from community/palworld/1.0.0/README.md rename to community/palworld/1.0.1/README.md diff --git a/community/palworld/1.0.0/app-readme.md b/community/palworld/1.0.1/app-readme.md similarity index 100% rename from community/palworld/1.0.0/app-readme.md rename to community/palworld/1.0.1/app-readme.md diff --git a/community/palworld/1.0.0/charts/common-1.2.9.tgz b/community/palworld/1.0.1/charts/common-1.2.9.tgz similarity index 100% rename from community/palworld/1.0.0/charts/common-1.2.9.tgz rename to community/palworld/1.0.1/charts/common-1.2.9.tgz diff --git a/community/palworld/1.0.0/ci/basic-values.yaml b/community/palworld/1.0.1/ci/basic-values.yaml similarity index 100% rename from community/palworld/1.0.0/ci/basic-values.yaml rename to community/palworld/1.0.1/ci/basic-values.yaml diff --git a/community/palworld/1.0.0/ix_values.yaml b/community/palworld/1.0.1/ix_values.yaml similarity index 96% rename from community/palworld/1.0.0/ix_values.yaml rename to community/palworld/1.0.1/ix_values.yaml index 878b14933d..2729143ce3 100644 --- a/community/palworld/1.0.0/ix_values.yaml +++ b/community/palworld/1.0.1/ix_values.yaml @@ -13,7 +13,7 @@ palworldConfig: gameParams: - EpicApp=PalServer gameParamsExtra: - - -No-useperfthreads + - -useperfthreads - -NoAsyncLoadingThread - -UseMultithreadForDS updatePublicIP: false diff --git a/community/palworld/1.0.0/metadata.yaml b/community/palworld/1.0.1/metadata.yaml similarity index 90% rename from community/palworld/1.0.0/metadata.yaml rename to community/palworld/1.0.1/metadata.yaml index 10262703e1..3d8c5bfd78 100644 --- a/community/palworld/1.0.0/metadata.yaml +++ b/community/palworld/1.0.1/metadata.yaml @@ -15,6 +15,8 @@ capabilities: description: Palworld is able to set the setuid attribute on a file. - name: SETGID description: Palworld is able to set the setgid attribute on a file. + - name: SYS_RESOURCE + description: Palworld is able to override resource limits. - name: KILL description: Palworld is able to send signals to processes owned by others. hostMounts: [] diff --git a/community/palworld/1.0.0/questions.yaml b/community/palworld/1.0.1/questions.yaml similarity index 99% rename from community/palworld/1.0.0/questions.yaml rename to community/palworld/1.0.1/questions.yaml index 700ebda6dc..ddbc0f0028 100644 --- a/community/palworld/1.0.0/questions.yaml +++ b/community/palworld/1.0.1/questions.yaml @@ -47,7 +47,7 @@ questions: schema: type: list default: - - -No-useperfthreads + - -useperfthreads - -NoAsyncLoadingThread - -UseMultithreadForDS items: diff --git a/community/palworld/1.0.0/templates/NOTES.txt b/community/palworld/1.0.1/templates/NOTES.txt similarity index 100% rename from community/palworld/1.0.0/templates/NOTES.txt rename to community/palworld/1.0.1/templates/NOTES.txt diff --git a/community/palworld/1.0.0/templates/_palworld.tpl b/community/palworld/1.0.1/templates/_palworld.tpl similarity index 97% rename from community/palworld/1.0.0/templates/_palworld.tpl rename to community/palworld/1.0.1/templates/_palworld.tpl index b27cbcd8b2..6ed3a7a76b 100644 --- a/community/palworld/1.0.0/templates/_palworld.tpl +++ b/community/palworld/1.0.1/templates/_palworld.tpl @@ -25,13 +25,14 @@ workload: - FOWNER - SETGID - SETUID + - SYS_RESOURCE - KILL env: STEAMCMD_DIR: /serverdata/steamcmd {{- $srvDir := "/serverdata/serverfiles" }} SERVER_DIR: {{ $srvDir }} SRV_ADMIN_PWD: {{ .Values.palworldConfig.adminPassword }} - GAME_PARAMS: {{ join " " .Values.palworldNetwork.serverPort }} + GAME_PARAMS: {{ join " " .Values.palworldConfig.gameParams }} GAME_PARAMS_EXTRA: {{ join " " .Values.palworldConfig.gameParamsExtra }} UPDATE_PUBLIC_IP: {{ .Values.palworldConfig.updatePublicIP }} VALIDATE: {{ .Values.palworldConfig.validate }} diff --git a/community/palworld/1.0.0/templates/_validation.tpl b/community/palworld/1.0.1/templates/_params.tpl similarity index 52% rename from community/palworld/1.0.0/templates/_validation.tpl rename to community/palworld/1.0.1/templates/_params.tpl index b0bab79a7a..29df6ba840 100644 --- a/community/palworld/1.0.0/templates/_validation.tpl +++ b/community/palworld/1.0.1/templates/_params.tpl @@ -1,7 +1,10 @@ -{{- define "palworld.validation" -}} +{{- define "palworld.set.params" -}} {{- range $param := .Values.palworldConfig.gameParams -}} {{- if hasPrefix "port=" $param -}} {{- fail "PalWorld - [port=] param is automatically adjusted from the Server Port field" -}} {{- end -}} {{- end -}} + + {{- $params := (prepend .Values.palworldConfig.gameParams (printf "port=%v" .Values.palworldNetwork.serverPort)) -}} + {{- $_ := set .Values.palworldConfig "gameParams" $params -}} {{- end -}} diff --git a/community/palworld/1.0.0/templates/_persistence.tpl b/community/palworld/1.0.1/templates/_persistence.tpl similarity index 100% rename from community/palworld/1.0.0/templates/_persistence.tpl rename to community/palworld/1.0.1/templates/_persistence.tpl diff --git a/community/palworld/1.0.0/templates/_service.tpl b/community/palworld/1.0.1/templates/_service.tpl similarity index 100% rename from community/palworld/1.0.0/templates/_service.tpl rename to community/palworld/1.0.1/templates/_service.tpl diff --git a/community/palworld/1.0.0/templates/common.yaml b/community/palworld/1.0.1/templates/common.yaml similarity index 90% rename from community/palworld/1.0.0/templates/common.yaml rename to community/palworld/1.0.1/templates/common.yaml index faabd7f405..148e671ef8 100644 --- a/community/palworld/1.0.0/templates/common.yaml +++ b/community/palworld/1.0.1/templates/common.yaml @@ -1,6 +1,6 @@ {{- include "ix.v1.common.loader.init" . -}} -{{- include "palworld.validation" $ -}} +{{- include "palworld.set.params" $ -}} {{/* Merge the templates with Values */}} {{- $_ := mustMergeOverwrite .Values (include "palworld.workload" $ | fromYaml) -}} diff --git a/community/palworld/1.0.0/upgrade_strategy_disabled b/community/palworld/1.0.1/upgrade_strategy_disabled similarity index 100% rename from community/palworld/1.0.0/upgrade_strategy_disabled rename to community/palworld/1.0.1/upgrade_strategy_disabled