mirror of
https://github.com/truenas/charts.git
synced 2026-06-14 22:25:57 +08:00
* 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
36 lines
1.0 KiB
Smarty
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 -}}
|