-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvalues.yaml
263 lines (228 loc) · 6.44 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# Server deployment annotations, labels, and resources limits
#
server:
annotations: {}
labels: {}
resources:
limits:
cpu: 4
memory: "12Gi"
requests:
cpu: 4
memory: "8Gi"
# Storage definitions related to the palworld-server
#
storage:
main:
external: false
externalName: ""
# Keeps helm from deleting the PVC, by default helm does not delete pvcs
#
preventDelete: false
size: 12Gi
storageClassName: ""
# If not specified, the backups will be stored on the `main` storage
#
# Supports all storage types as defined by https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/#Volume
#
# `persistentVolumeClaim` is a special case that matches the `main` storage in definition
backups: {}
# persistentVolumeClaim:
# external: false
# externalName: ""
# preventDelete: false
# size: 12Gi
# storageClassName: ""
# nfs:
# server: your.server.ip
# path: /path/to/remote/dir
# Additional storage definitions
#
# Supports all storage types as defined by https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/volume/#Volume
#
# THe objects supports configuring the mount path and the subpath.
# If external isn't true, the defined deletion prevention, storage class, and size will be used to create a new PVC
extra: []
# An example of using an existing PVC at a subpath
#
# - name: existing-pvc
# mountPath: /existing-pvc
# subPath: test
# external: true
# persistentVolumeClaim:
# claimName: existing-pvc
# An example of creating a new PVC of 5Gi
#
# - name: new-pvc
# mountPath: /new-pvc
# size: 5Gi
# preventDelete: false
# storageClassName: "my-storage-class"
# persistentVolumeClaim:
# claimName: new-pvc
# An example of mounting a configmap with key `test.ini` as `config.ini` in /config
#
# - name: config
# mountPath: /config
# configMap:
# name: app-configfile
# items:
# - key: test.ini
# path: config.ini
# An example of mounting a secret
# - name: keys
# mountPath: /keys
# readOnly: true
# secret:
# secretName: app-keyfile
# An example of mounting an nfs volume
# - name: nfs
# mountPath: /data
# nfs:
# server: your.server.ip
# path: /path/to/dir
# Docker image used for the palworld-server deployment
#
image:
repository: thijsvanloef/palworld-server-docker
tag: v0.30.1
imagePullPolicy: IfNotPresent
imagePullSecrets: []
# Server-related ports
# Be sure your service.ports and config.ports matches this section
#
ports:
- name: game
containerPort: 8211
protocol: UDP
- name: query
containerPort: 27015
protocol: UDP
- name: rcon
containerPort: 25575
protocol: TCP
# Deployment strategy
#
strategy: Recreate
# Liveness and readiness probes
probes: {}
# liveness:
# exec:
# command:
# - sh
# - -c
# - pgrep PalServer-Linux > /dev/null || exit 1
# initialDelaySeconds: 30
# readiness:
# exec:
# command:
# - sh
# - -c
# - rcon-cli Info | grep -q "Welcome to Pal Server"
# initialDelaySeconds: 60
# Container lifecycle
terminationGracePeriodSeconds: 30
lifecycle:
preStop:
exec:
command:
- bash
- /usr/local/bin/backup
# Service configuration
#
service:
enabled: true
annotations: {}
labels: {}
# For minikube, set this to NodePort, elsewhere use LoadBalancer
# Use ClusterIP if your setup includes ingress controller
#
type: ClusterIP
# Use if you need to create a TCP health check for load balancers on cloud services.
#
healthz:
enabled: false
name: healthz
port: 80
protocol: TCP
targetPort: 80
# Port definitions for the service
# Be sure this matches the config section
#
ports:
- name: game
port: 8211
protocol: UDP
targetPort: 8211
- name: query
port: 27015
protocol: UDP
targetPort: 27015
- name: rcon
port: 25575
protocol: TCP
targetPort: 25575
# Palworld-server specific configuration
#
config:
annotations: {}
labels: {}
puid: 1000
pgid: 1000
port: 8211
query_port: 27015
max_players: 16
multithreading: true
rcon:
enable: true
port: 25575
# If not provided a random password will be generated and stored as a secret
#
password: ""
# If provided, the password will be loaded from an existing secret
externalPassword: {}
# The name of the secret containing the rcon password
# name: ""
# The key in the secret containing the rcon password
# key: ""
# Community server settings
#
community:
enable: true
password: ""
externalPassword: {}
# name: ""
# key: ""
# General server settings
server_name: ""
timezone: "UTC"
public_ip: ""
public_port: ""
server_description: ""
# Update or install the server when the container starts
# Must be enabled when the container first starts
#
update_on_boot: true
# Daily reboot configuration, disabled by default
#
daily_reboot:
enable: false
# Countdown in seconds to announce to players before the server is rebooted
countdown_seconds: 30
# UTC cron syntax for server reboot schedule, https://crontab.guru/
# Defaults to 9:30am UTC
#
time: "30 9 * * *"
# Name of the role and service account used to perform the daily reboot
#
role: "daily-reboot"
serviceAccount: "daily-reboot"
# Any additional environment variables related to the palworld-server-docker image
# -- Note, it's recommended to wrap values of the environment variables in quotes
# -- You can find a list of these environment variables in the palworld-server-docker readme
# -- https://github.com/thijsvanloef/palworld-server-docker/tree/main
#
env:
# When set to false the PalWorldServer.ini will be generated based on environment variables found here https://github.com/thijsvanloef/palworld-server-docker/blob/main/README.md
#
DISABLE_GENERATE_SETTINGS: "false"