Files
chart/library/ix-dev/community/palworld/templates/_persistence.tpl
Stavros Kois 589b4412a4 Adds palworld (#2069)
* initial commit

* add templates

* add values

* change ports in ci

* nodeport range

* add caps

* disable probes

* add ui

* probes

* update the port

* ignore port param

* remove unused var from ui

* default datasetnames

* rcon and port fixes
2024-01-24 10:11:16 +02:00

36 lines
1.0 KiB
Smarty

{{- define "palworld.persistence" -}}
persistence:
steamcmd:
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.palworldStorage.steamcmd) | nindent 4 }}
targetSelector:
palworld:
palworld:
mountPath: /serverdata/steamcmd
server:
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.palworldStorage.server) | nindent 4 }}
targetSelector:
palworld:
palworld:
mountPath: /serverdata/serverfiles
01-config:
mountPath: /serverdata/serverfiles
tmp:
enabled: true
type: emptyDir
targetSelector:
palworld:
palworld:
mountPath: /tmp
{{- range $idx, $storage := .Values.palworldStorage.additionalStorages }}
{{ printf "palworld-%v:" (int $idx) }}
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }}
targetSelector:
palworld:
palworld:
mountPath: {{ $storage.mountPath }}
{{- end }}
{{- end -}}