-
Notifications
You must be signed in to change notification settings - Fork 1
/
values.yaml
271 lines (242 loc) · 7.98 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
264
265
266
267
268
269
270
271
# Default values for arma3.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Only one replica is supported, set this to _any_ number to let helm control the replicas
replicas: 1
image:
repository: fbuchmeier/arma3server
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceMonitor:
# --- If true, a ServiceMonitor CRD is created for a prometheus operator
enabled: false
path: /metrics
# namespace: (defaults to use the namespace this chart is deployed to)
labels: {}
interval: 5s
scheme: http
scrapeTimeout: 2s
relabelings: []
serviceAccount:
# -- Specifies whether a service account should be created
create: true
# -- Annotations to add to the service account
annotations: {}
# -- The name of the service account to use.
# -- If not set and create is true, a name is generated using the fullname template
name: ""
deploymentAnnotations:
# -- To automatically reload the container on configuration changes, use
reloader.stakater.com/auto: "true"
podAnnotations: {}
podSecurityContext:
fsGroup: 433
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 431
runAsGroup: 433
service:
type: ClusterIP
port: 80
annotations: {}
# -- For MetalLB use:
# type: LoadBalancer
# loadbalancerIP: 192.168.178.211
# annotations:
# metallb.universe.tf/allow-shared-ip: share-192.168.178.211
# -- We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user.
resources: {}
# limits:
# cpu: 2
# memory: 4Gi
# requests:
# cpu: 1
# memory: 2Gi
config:
# -- External Hostname of server
hostname: arma3.example.com
# TODO Can we use CIDR ranges?
# -- Set the headlessClients and localClient, set to 127.0.0.1 whe .Values.headlessclient.enabled
headlessClients: []
# - "127.0.0.1"
# - "192.168.178.20"
# - "192.168.178.35"
# - "192.168.178.34"
# -- 1=enabled, 0=disabled
battleeye: 1
# -- Environment parameters for the game container
env:
# -- Select the steam branch, e.g. 'creatordlc'
STEAM_BRANCH: ""
# -- Specify a creators DLC, e.g. 'vn'
ARMA_CDLC: ""
# -- Use a preset from /modpresets/<presetname>
MODS_PRESET: ""
# -- Specify the FPS limit for the server
ARMA_LIMITFPS: "60"
persistence:
data:
# ARMA3 Data (all game assets except the config/profiles/main)
enabled: false
annotations: {}
## arma3 data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
accessMode: ReadWriteOnce
size: 40Gi
profile:
# ARMA3 Profiles (this is where AntiStasi saves it's progress)
# -- WARNING: if you set this to false, your progress in Antistasi will be lost on a server restart
enabled: true
annotations: {}
## arma3 data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
accessMode: ReadWriteOnce
size: 2Gi
headlessclient:
# -- enable persistence for ARMA3 Headless Client data (all game assets except the config/profiles/main)
enabled: false
# -- use the same filesystem for both the server and the headless clients
sharedFilesystem: false
annotations: {}
## arma3 data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
# -- Volume access mode, if you want to use more than one headless client, this must be ReadWriteMany
accessMode: ReadWriteOnce
size: 40Gi
# -- Specify credentials for the server
credentials:
serverPassword: ""
adminPassword: ""
steamUser: ""
steamPassword: ""
useExistingSecret:
# -- Use a dedicated, already existing secret for credentials, any key already specified under 'credentials.' directly will be ignored
enabled: true
# -- The credential is looked up from a secret, which resides in this namespace
# if empty, use Release.Namespace
namespace: ""
# -- The credential is looked up from a secret with this name
name: ""
# -- The Server Password
serverPasswordKey: server-password
# -- The Server ADMIN Password
adminPasswordKey: admin-password
# -- The Steam User to Login to the Steam API
steamUserKey: steam-user
# -- The Steam API to Login to the Steam API
steamPasswordKey: steam-password
nodeSelector: {}
tolerations: []
affinity: {}
# -- Headless clients only work when persistence.data.accessMode is set to 'ReadWriteMany'
headlessclient:
enabled: true
name: hc
# -- Launch the given number of headless clients in separate pods
replicas: null
nodeSelector: {}
tolerations: []
affinity: {}
# -- We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user.
resources: {}
# limits:
# cpu: 2
# memory: 4Gi
# requests:
# cpu: 1
# memory: 2Gi
# -- We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user.
initResources: {}
# limits:
# memory: 512Mi
# cpu: 4
# requests:
# memory: 256Mi
# cpu: 1
antiAffinity:
# -- Enable podAntiAffinity so that server and headless clients get scheduled on different nodes if possible
enabled: true
# -- Use envoy to tunnel requests from headless clients and whitelist only 127.0.0.1, automatically enabled with .Values.headlessclient.enabled
tunnel:
image:
repository: envoyproxy/envoy
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: v1.28-latest
# -- We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user.
resources: {}
# limits:
# cpu: 250m
# memory: 256Mi
# requests:
# cpu: 50m
# memory: 128Mi
rsync:
# -- Use rsync to synchronize the game data from the server to the headless clients on startup
enabled: true
image:
repository: fbuchmeier/rsync-server
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: 2.0.1
resources: {}
# limits:
# cpu: 250m
# memory: 256Mi
# requests:
# cpu: 50m
# memory: 128Mi
# BUG: which capabilities does rsync require (receiver) aparfr from chroot?
# rsync: [Receiver] chroot /arma3 failed: Operation not permitted (1)
securityContext:
# capabilities:
# drop:
# - ALL
# add:
# - SYS_CHROOT
readOnlyRootFilesystem: true
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0