forked from zammad/zammad-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
521 lines (486 loc) · 13.3 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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
image:
repository: ghcr.io/zammad/zammad
# If not set, appVersion field from Chart.yaml is used as default.
# appVersion points to a fixed version. You are responsible to update this to newer patch level versions yourself.
# Alternatively, you can also use floating versions that will give you automatic updates:
# tag: "6.2" # all patchlevel updates
# tag: "6" # including minor updates
# tag: "latest" # all updates of stable versions, including major
# tag: "develop" # bleeding-edge development version
# If you want to use a floating version, you should also set pullPolicy: Always
tag: ""
pullPolicy: IfNotPresent
imagePullSecrets: []
# - name: "image-pull-secret"
service:
type: ClusterIP
port: 8080
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# Please note that passwords for PostgreSQL, Redis and S3 may not
# contain special characters which would require URL encoding.
# See also https://github.com/zammad/zammad-helm/issues/251
secrets:
autowizard:
useExisting: false
secretKey: autowizard
secretName: autowizard
elasticsearch:
useExisting: false
secretKey: password
secretName: elastic-credentials
postgresql:
useExisting: false
secretKey: postgresql-pass
secretName: postgresql-pass
redis:
useExisting: false
secretKey: redis-password
secretName: redis-pass
securityContext:
fsGroup: 1000
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods
fsGroupChangePolicy: Always
runAsUser: 1000
runAsNonRoot: true
runAsGroup: 1000
seccompProfile:
type: RuntimeDefault
zammadConfig:
elasticsearch:
# enable/disable elasticsearch chart dependency
enabled: true
# host env var is only used when zammadConfig.elasticsearch.enabled is false
host: zammad-elasticsearch-master
initialisation: true
pass: ""
port: 9200
reindex: true
schema: http
user: ""
memcached:
# enable/disable memcached chart dependency
enabled: true
# host env var is only used when zammadConfig.memcached.enabled is false
host: zammad-memcached
port: 11211
minio:
# enable/disable minio chart dependency
enabled: false
# Uncomment this in case you want to use an external S3 service.
# externalS3Url: https://user:pw@external-minio-service/bucket
nginx:
replicas: 1
trustedProxies: []
extraHeaders: []
# - 'HeaderName "Header Value"'
websocketExtraHeaders: []
# - 'HeaderName "Header Value"'
knowledgeBaseUrl: ""
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 30
successThreshold: 1
failureThreshold: 5
timeoutSeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 30
successThreshold: 1
failureThreshold: 5
timeoutSeconds: 5
periodSeconds: 10
resources: {}
# requests:
# cpu: 50m
# memory: 32Mi
# limits:
# cpu: 100m
# memory: 64Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
privileged: false
# can be used to add additional containers / sidecars
sidecars: []
postgresql:
# enable/disable postgresql chart dependency
enabled: true
# needs to be the same as the postgresql.auth.database
db: zammad_production
# host env var is only used when postgresql.enabled is false
host: zammad-postgresql
# needs to be the same as the postgresql.auth.password
pass: "zammad"
port: 5432
# needs to be the same as the postgresql.auth.username
user: zammad
# additional connection options
options: "pool=50"
railsserver:
replicas: 1
livenessProbe:
tcpSocket:
port: 3000
initialDelaySeconds: 30
successThreshold: 1
failureThreshold: 5
timeoutSeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 30
successThreshold: 1
failureThreshold: 5
timeoutSeconds: 5
periodSeconds: 10
resources: {}
# requests:
# cpu: 100m
# memory: 512Mi
# limits:
# cpu: 200m
# memory: 1024Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
privileged: false
# can be used to add additional containers / sidecars
sidecars: []
trustedProxies: "['127.0.0.1', '::1']"
webConcurrency: 0
# tmpdir will be used by all Zammad/Rails containers
tmpdir: "/opt/zammad/tmp"
redis:
# enable/disable redis chart dependency
enabled: true
host: "zammad-redis-master"
# needs to be the same as the redis.auth.password
pass: zammad
port: 6379
scheduler:
resources: {}
# requests:
# cpu: 100m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
privileged: false
# can be used to add additional containers / sidecars
sidecars: []
storageVolume:
# Enable this for 'File' based storage in Zammad. You must provide an externally managed 'extistingClaim'
# with 'ReadWriteMany' permisssion in this case.
enabled: false
##
## A manually managed Persistent Volume and Claim
## If defined, PVC must be created manually before volume will be bound
## The value is evaluated as a template, so, for example, the name can depend on .Release or .Chart
##
# existingClaim:
tmpDirVolume:
emptyDir:
sizeLimit: 100Mi
# enable "medium: Memory" to Work around problems with world writable tmp dir permissions if volumePermissions.enabled is set to false
# see: https://github.com/kubernetes/kubernetes/issues/76158 & https://github.com/kubernetes/kubernetes/issues/110835
# medium: Memory
websocket:
livenessProbe:
tcpSocket:
port: 6042
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
timeoutSeconds: 5
readinessProbe:
tcpSocket:
port: 6042
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 5
timeoutSeconds: 5
resources: {}
# requests:
# cpu: 100m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
privileged: false
# can be used to add additional containers / sidecars
sidecars: []
initContainers:
elasticsearch:
resources: {}
# requests:
# cpu: 100m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
privileged: false
postgresql:
resources: {}
# requests:
# cpu: 100m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
privileged: false
# volumePermissions will be used by all Zammad Pods
volumePermissions:
enabled: true
image:
repository: alpine
tag: "3.18.4"
pullPolicy: IfNotPresent
command:
- /bin/sh
- -cx
- |
chmod 770 /opt/zammad/tmp
resources: {}
# requests:
# cpu: 100m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 512Mi
securityContext:
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
privileged: true
runAsNonRoot: false
runAsUser: 0
zammad:
resources: {}
# requests:
# cpu: 100m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
privileged: false
customInit: ""
# bundle exec rails runner '…'
# additional environment vars added to all zammad services
extraEnv: []
# - name: FOO_BAR
# value: "foobar"
# autowizard config
# if a token is used the url must look like: http://zammad/#getting_started/auto_wizard/your_token_here
autoWizard:
enabled: false
# string with the autowizard config as json
# config: |
# {
# "Token": "secret_zammad_autowizard_token",
# "TextModuleLocale": {
# "Locale": "en-us"
# },
# "Users": [
# {
# "login": "[email protected]",
# "firstname": "Zammad",
# "lastname": "Admin",
# "email": "[email protected]",
# "organization": "ZammadTest",
# "password": "YourPassword"
# }
# ],
# "Settings": [
# {
# "name": "product_name",
# "value": "ZammadTestSystem"
# },
# {
# "name": "system_online_service",
# "value": true
# }
# ],
# "Organizations": [
# {
# "name": "ZammadTest"
# }
# ]
# }
podAnnotations: {}
# my-annotation: "value"
nodeSelector: {}
tolerations: []
affinity: {}
# service account configurations
serviceAccount:
# Specifies whether a service account should be created
create: false
# 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: ""
# can be used to add additional init containers
initContainers: []
# - name: s3-restore
# image: some-aws-s3-restore:latest
# env:
# - name: AWS_DEFAULT_REGION
# value: "eu-central-1"
# - name: AWS_ACCESS_KEY_ID
# value: "xxxxxxxxxxxx"
# - name: AWS_SECRET_ACCESS_KEY
# value: "xxxxxxxxxxxx"
# - name: SYNC_DIR
# value: "/opt/zammad"
# - name: AWS_SYNC_BUCKET
# value: "some-backup-bucket"
# volumeMounts:
# - name: help-zammad
# mountPath: /opt/zammad
# dependency charts config
# Settings for the elasticsearch subchart
elasticsearch:
clusterName: zammad
coordinating:
replicaCount: 0
data:
replicaCount: 0
ingest:
replicaCount: 0
master:
heapSize: 512m
masterOnly: false
replicaCount: 1
# To use an existing Kubernetes secret containing the credentials,
# remove the comments on the lines below and adjust them accordingly
#
# security:
# existingSecret: elastic-credentials
# settings for the memcached subchart
memcached:
replicaCount: 1
resources: {}
# requests:
# cpu: 50m
# memory: 64Mi
# limits:
# cpu: 100m
# memory: 128Mi
# settings for the minio subchart
minio:
auth:
rootUser: zammadadmin
rootPassword: zammadadmin
# Use existing secret for credentials details (auth.rootUser and
# auth.rootPassword will be ignored and picked up from this secret).
# The secret has to contain the keys root-user and root-password)
# existingSecret: minio-credentials
defaultBuckets: zammad
# You can use this to enable the web UI for debugging.
disableWebUI: true
# settings for the postgres subchart
postgresql:
auth:
username: "zammad"
replicationUsername: repl_user
database: "zammad_production"
# Passwords
postgresPassword: "zammad"
password: "zammad"
replicationPassword: "zammad"
# To avoid passwords in your values.yaml, you can comment out the 3 lines above
# and use an existing Kubernetes secret. Remove the comments on the lines below
# and adjust them accordingly
#
# existingSecret: postgresql-pass
# secretKeys:
# adminPasswordKey: postgresql-admin-password
# userPasswordKey: postgresql-pass
# replicationPasswordKey: postgresql-replication-password
#
resources: {}
# requests:
# cpu: 250m
# memory: 256Mi
# limits:
# cpu: 500m
# memory: 512Mi
# settings for the redis subchart
redis:
architecture: standalone
auth:
password: zammad
# To avoid passwords in your values.yaml, you can comment out the line above
# and use an existing Kubernetes secret. Remove the comments on the lines below
# and adjust them accordingly
#
# existingSecret: redis-pass
# existingSecretPasswordKey: redis-password
master:
resources: {}
# limits:
# cpu: 250m
# memory: 256Mi
# requests:
# cpu: 250m
# memory: 256Mi