mirror of
https://github.com/truenas/charts.git
synced 2026-04-08 05:08:18 +08:00
Publish new changes in catalog
This commit is contained in:
@@ -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'
|
||||
@@ -13,7 +13,7 @@ palworldConfig:
|
||||
gameParams:
|
||||
- EpicApp=PalServer
|
||||
gameParamsExtra:
|
||||
- -No-useperfthreads
|
||||
- -useperfthreads
|
||||
- -NoAsyncLoadingThread
|
||||
- -UseMultithreadForDS
|
||||
updatePublicIP: false
|
||||
@@ -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: []
|
||||
@@ -47,7 +47,7 @@ questions:
|
||||
schema:
|
||||
type: list
|
||||
default:
|
||||
- -No-useperfthreads
|
||||
- -useperfthreads
|
||||
- -NoAsyncLoadingThread
|
||||
- -UseMultithreadForDS
|
||||
items:
|
||||
@@ -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 }}
|
||||
@@ -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 -}}
|
||||
@@ -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) -}}
|
||||
Reference in New Issue
Block a user