-
Notifications
You must be signed in to change notification settings - Fork 20
/
values.yaml
711 lines (609 loc) · 21 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
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
# Default values for openproject.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
## Enable development mode.
##
## Set this to true if you want are working on the charts locally using
## local clusters such as minikube or kind.
##
## This will set `OPENPROJECT_HTTPS` to `false` and avoid using volumes for
## tmp folders as (permissions for) these don't work correctly in local clusters.
develop: false
global:
## Credentials to fetch images from private registry.
##
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
## imagePullSecrets:
## - myRegistryKeySecretName
#
imagePullSecrets: []
## Affinity for pod assignment.
##
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
#
affinity: {}
## Define additional environment variables.
##
## You can get a list of all environment variables when executing:
## "RAILS_ENV=production bundle exec rake setting:available_envs"
##
## environment:
## OPENPROJECT_ATTACHMENT__MAX__SIZE: 5120
#
environment: {}
# Optionally specify an extra list of additional volumes.
extraVolumes: []
# Optionally specify an extra list of additional volumeMounts.
extraVolumeMounts: []
## Provide a name to substitute for the full names of resources.
#
fullnameOverride: ""
##
# Override the cluster domain name used in templating
clusterDomain: "cluster.local"
## Define settings for wait-for-db init-container
#
initdb:
image:
## Define docker registry address.
#
registry: "docker.io"
## Define repository string.
#
repository: "postgres"
# Postgres version to use
tag: 13
## Define a imagePullPolicy.
##
## Ref.: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
##
## "IfNotPresent" => The image is pulled only if it is not already present locally.
## "Always" => Every time the kubelet launches a container, the kubelet queries the container image registry to
## resolve the name to an image digest. If the kubelet has a container image with that exact digest cached
## locally, the kubelet uses its cached image; otherwise, the kubelet pulls the image with the resolved
## digest, and uses that image to launch the container.
## "Never" => The kubelet does not try fetching the image. If the image is somehow already present locally, the
## kubelet attempts to start the container; otherwise, startup fails
#
imagePullPolicy: "Always"
resources:
limits:
memory: "200Mi"
requests:
memory: "200Mi"
## Define and create Kubernetes Service.
##
## Ref.: https://kubernetes.io/docs/concepts/services-networking/ingress/
#
ingress:
## Whether to enable session affinity or not. It is required by ingress.
#
enabled: true
## Define the name of the ingress class.
##
## If left empty, the cluster default is used.
## Set this if you need a specific class, for instance `nginx`.
#
ingressClassName:
## Define custom ingress annotations:
##
## Example:
## annotations:
## nginx.ingress.kubernetes.io/rewrite-target: /
annotations: {}
## Define the Fully Qualified Domain Name (FQDN) where OpenProject should be reachable.
#
host: "openproject.example.com"
## Define the path for OpenProject on your host.
#
path: /
## Each path in an Ingress is required to have a corresponding path type. Paths that do not include an explicit
## pathType will fail validation. There are three supported path types:
##
## "ImplementationSpecific" => With this path type, matching is up to the IngressClass. Implementations can treat this
## as a separate pathType or treat it identically to Prefix or Exact path types.
## "Exact" => Matches the URL path exactly and with case sensitivity.
## "Prefix" => Matches based on a URL path prefix split by /.
##
## Ref.: https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types
#
pathType: "Prefix"
## You can secure an Ingress by specifying a Secret that contains a TLS private key and certificate.
##
## Ref.: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
#
tls:
## Whether to enable tls or not.
#
enabled: true
## The name of the kubernetes secret which contains a TLS private key and certificate.
## Hint: This secret is not created by this chart and must be provided.
##
#
secretName: ""
egress:
tls:
rootCA:
configMap: ""
fileName: ""
## Define image setting
#
image:
## Define docker registry address.
#
registry: "docker.io"
## Define repository string.
#
repository: "openproject/openproject"
## Define a imagePullPolicy.
##
## Ref.: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
##
## "IfNotPresent" => The image is pulled only if it is not already present locally.
## "Always" => Every time the kubelet launches a container, the kubelet queries the container image registry to
## resolve the name to an image digest. If the kubelet has a container image with that exact digest cached
## locally, the kubelet uses its cached image; otherwise, the kubelet pulls the image with the resolved
## digest, and uses that image to launch the container.
## "Never" => The kubelet does not try fetching the image. If the image is somehow already present locally, the
## kubelet attempts to start the container; otherwise, startup fails
#
imagePullPolicy: "Always"
## Define image tag.
## For the helm chart, use the `-slim` variants as the all-in-one container is not compatible
## with some of the options (non-root execution, password splitting, etc.) and is inefficient for using in helm
## due to embedded a number of services.
tag: "14-slim"
## Define image sha256 - mutual exclusive with image tag.
## The sha256 has a higher precedence than
# sha256:
## Credentials to fetch images from private registry.
##
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
## imagePullSecrets:
## - myRegistryKeySecretName
#
imagePullSecrets: []
## Configure memcached settings.
#
memcached:
## When set to true, a memcached will be deployed into current namespace, when false you have to provide your own
## memcached instance.
#
bundled: true
global:
containerSecurityContext:
enabled: true
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
seccompProfile:
type: "RuntimeDefault"
readOnlyRootFilesystem: true
runAsNonRoot: true
## When "bundled" is set to false, you need to define the memcached connection details.
#
connection:
host:
port:
## String to partially override release name.
#
nameOverride: ""
## Node labels for pod assignment.
##
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
#
nodeSelector: {}
## Deployment strategy
##
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
#
strategy:
## Re-create pod during deployments by default since a writable volume is mounted.
## Should your cluster support WriteMany volumes, you can change this
## to `RollingUpdate`.
type: "Recreate"
# Define the workers to run, their queues, replicas, strategy, and resources
workers:
default:
queues: ""
replicas: 1
strategy:
type: "Recreate"
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "4Gi"
cpu: "4"
## OpenProject related settings.
##
## Ref.: https://www.openproject.org/docs/installation-and-operations/configuration/environment/#supported-environment-variables
#
openproject:
## Enable https in backend response.
#
https: true
## Define the host, defaults to value of "ingress.host".
#
host:
## Enable HSTS.
#
hsts: true
## Define Cache settings.
#
cache:
store: "memcache"
extraEnvVarsSecret: ""
## Define the language to seed the instance in
#
seed_locale: "en"
##
# Let OpenProject run in a subdirectory,
# e.g., https://exameple.com/openproject
# specify with leading slash, but without trailing slash
# e.g., /openproject
railsRelativeUrlRoot:
## Define admin user details
# only applicable on first installation
# Note: Only applicable for versions >= 13.0
admin_user:
password: "admin"
password_reset: "true"
name: "OpenProject Admin"
mail: "admin@example.net"
## Define OpenID Connect providers
oidc:
enabled: false
provider: "Keycloak"
displayName: "Keycloak"
host: ""
identifier: ""
secret: ""
authorizationEndpoint: ""
tokenEndpoint: ""
userinfoEndpoint: ""
endSessionEndpoint: ""
scope: "[openid]"
# Optional attribute mappings from the id token
attribute_map: {}
## To avoid having sensitive credentials in your values.yaml, the preferred way is to
## use an existing secret containing the OIDC compatible access credentials.
## Specify the name of this existing secret here.
existingSecret:
## In case your secret does not use the default keys in the secret, you can adjust them here.
secretKeys:
identifier: "clientId"
secret: "clientSecret"
# Allows usage of sealed-secret for `identifier` and `secret` values.
# Special use case for use in setups where heml template `lookup` function is not available.
# Ref: https://github.com/argoproj/argo-cd/issues/5202
#
extraOidcSealedSecret:
## Modify PostgreSQL statement timout.
## Increase in case you get errors such as "ERROR: canceling statement due to statement timeout".
##
## Ref.: https://www.openproject.org/docs/installation-and-operations/configuration/environment/#postgresql-statement_timeout
#
postgresStatementTimeout: 120s
## Whether or not to use ephemeral volumes for /app/tmp and /tmp.
## Falls back to a sensible default if undefined.
#
useTmpVolumes:
## customize the tmp storage mount sizes
tmpVolumesStorage: "5Gi"
## Whether to allocate persistent volume disk for the data directory.
## In case of node failure, the node data directory will still persist.
##
## Ref.: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
#
persistence:
enabled: true
## Define the volume access modes:
##
## "ReadWriteOnce" => The volume can be mounted as read-write by a single node. ReadWriteOnce access mode still can
## allow multiple pods to access the volume when the pods are running on the same node.
## "ReadOnlyMany" => The volume can be mounted as read-only by many nodes.
## "ReadWriteMany" => The volume can be mounted as read-write by many nodes.
## "ReadWriteOncePod" => The volume can be mounted as read-write by a single Pod. Use ReadWriteOncePod access mode if
## you want to ensure that only one pod across whole cluster can read that PVC or write to it.
#
accessModes:
- "ReadWriteMany"
## Define custom storage (PVC) annotations:
##
annotations: {}
## Define the volume size.
#
size: "1Gi"
## Define the class of PV.
storageClassName:
## Whether to use an S3-compatible object storage to store OpenProject attachments.
## If this is enabled, files will NOT be stored in the mounted volume configured in `persistence` above.
## The volume will not be used at all, so it `persistence.enabled` should be set to `false` in this case.
##
## Ref.: https://www.openproject.org/docs/installation-and-operations/configuration/#attachments-storage
#
s3:
enabled: false
auth:
# Provide the accessKeyId and secret in plain values
# We recommend to use the existingSecret option instead
accessKeyId:
secretAccessKey:
## To avoid having sensitive credentials in your values.yaml, the preferred way is to
## use an existing secret containing the S3 compatible access credentials.
## Specify the name of this existing secret here.
existingSecret:
## In case your secret does not use the default keys in the secret, you can adjust them here.
secretKeys:
accessKeyId: "accessKeyId"
secretAccessKey: "secretAccessKey"
region:
bucketName:
## Remove or leave empty to use default AWS S3 endpoint
#
endpoint:
host:
port:
pathStyle: false
signatureVersion: 4
useIamProfile: false
# Some providers do not properly support signature v4 streaming (e.g. Scaleway)
enableSignatureV4Streaming: true
## If enabled, upload files directly to S3 from the browser instead of going through OpenProject.
## May not be supported by providers other than AWS S3 itself.
##
## Ref.: https://www.openproject.org/docs/installation-and-operations/configuration/#direct-uploads
#
directUploads: true
## You can always override these options via the environment, for instance:
##
## environment:
## OPENPROJECT_FOG_CREDENTIALS_REGION: 'us-east-1'
##
## Ref.: https://www.openproject.org/docs/installation-and-operations/configuration/#attachments-storage
## Define custom pod annotations.
#
podAnnotations: {}
## Pod Security Context.
##
## We use the default value of `1000` for `fsGroup` since that
## is the app user's group ID and if the user wants to be able to
## write to `/var/openproject/assets` the mounted folder needs to
## have a matching gid.
##
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
#
podSecurityContext:
enabled: true
fsGroup: 1000
## Container security context using as a default best practice values
## granting minimum privileges.
##
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
#
containerSecurityContext:
enabled: true
runAsUser: 1000
runAsGroup: 1000
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
seccompProfile:
type: "RuntimeDefault"
readOnlyRootFilesystem: true
runAsNonRoot: true
## Configure PostgreSQL settings.
#
postgresql:
## When set to true, a postgres server will be deployed into current namespace, when false you have to provide your
## own database instance.
#
bundled: true
global:
containerSecurityContext:
enabled: true
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
seccompProfile:
type: "RuntimeDefault"
readOnlyRootFilesystem: true
runAsNonRoot: true
## When "bundled" is set to false, you need to define the database connection details.
#
connection:
host:
port:
## Database auth details.
#
auth:
## To avoid having sensitive credentials in your values.yaml, the preferred way to provide a password
## is to use an existing secret containing the PostgreSQL credentials.
## Specify the name of this existing secret here.
##
## If neither an existing secret nor passwords are defined, a secret is generated automatically.
##
## The postgresql chart will create this secret (the name of which ends with `-postgresql` by default)
## with generated user and admin passwords.
## If you want to see the base64 encoded passwords you can output the secret like this:
##
## ```
## kubectl get secret -n <namespace> openproject-postgresql -o yaml | grep password
## ```
#
existingSecret: ""
## In case your secret does not use the default keys in the secret, you can adjust them here.
##
## secretKeys:
## adminPasswordKey: "postgres-password"
## userPasswordKey: "password"
## Database username.
#
username: "openproject"
## Database name.
#
database: "openproject"
## If you are not using a Kubernetes secret to store your postgresql credentials,
## you can specify them here if you really must. Please handle with care!
## Database password.
#
password: ""
## Database root password.
#
postgresPassword: ""
## When using the "bundled" postgresql chart, you can configure the storageClass and other settings similar to this
## Ref: https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml
#
# global:
# storageClass: my-storage-class-name
## Configure liveness and readiness probes.
##
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
#
probes:
## Configure liveness probe.
##
## If the liveness probe fails, the container will be restarted.
#
liveness:
## Whether to enable liveness probes.
#
enabled: true
## Number of seconds after the container has started before startup, liveness or readiness probes are initiated.
## Defaults to 0 seconds. Minimum value is 0.
#
initialDelaySeconds: 120
## Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1.
#
timeoutSeconds: 3
## How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
#
periodSeconds: 30
## When a probe fails, Kubernetes will try failureThreshold times before giving up. Giving up in case of liveness
## probe means restarting the container. In case of readiness probe the Pod will be marked Unready. Defaults to 3.
## Minimum value is 1.
#
failureThreshold: 3
## Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.
## Must be 1 for liveness and startup Probes. Minimum value is 1.
#
successThreshold: 1
## Configure readiness probe.
##
## If the readiness probe failes, no traffic will be routed to the container.
#
readiness:
## Whether to enable liveness probes.
#
enabled: true
## Number of seconds after the container has started before startup, liveness or readiness probes are initiated.
## Defaults to 0 seconds. Minimum value is 0.
#
initialDelaySeconds: 30
## Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1.
#
timeoutSeconds: 3
## How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
#
periodSeconds: 15
## When a probe fails, Kubernetes will try failureThreshold times before giving up. Giving up in case of liveness
## probe means restarting the container. In case of readiness probe the Pod will be marked Unready. Defaults to 3.
## Minimum value is 1.
#
failureThreshold: 30
## Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.
## Must be 1 for liveness and startup Probes. Minimum value is 1.
#
successThreshold: 1
## Number of OpenProject web process replicas.
#
replicaCount: 1
## Number of OpenProject background worker process replicas.
#
backgroundReplicaCount: 1
## Configure resource requests and limits.
##
## http://kubernetes.io/docs/user-guide/compute-resources/
#
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "4Gi"
cpu: "4"
## Define and create Kubernetes Service.
##
## Ref.: https://kubernetes.io/docs/concepts/services-networking/service
#
service:
## Whether to enable session affinity or not. It is required by ingress.
#
enabled: true
## Choose the kind of Service:
##
## "ClusterIP" => Exposes the Service on a cluster-internal IP. Choosing this value makes the Service only reachable
## from within the cluster. This is the default that is used if you don't explicitly specify a type for
## a Service.
## "NodePort" => Exposes the Service on each Node's IP at a static port (the NodePort). To make the node port
## available, Kubernetes sets up a cluster IP address, the same as if you had requested a Service of
## type: ClusterIP.
## "LoadBalancer" => Exposes the Service externally using a cloud provider's load balancer.
##
## Ref.: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
#
type: "ClusterIP"
## Define the ports of Service.
## You can set the port value to an arbitrary value, it will map the container port by name.
##
## Custom NodePort example:
## ports:
## http:
## port: 8080
## protocol: "TCP"
## nodePort: "38080"
#
ports:
http:
containerPort: 8080
port: 8080
protocol: "TCP"
## Configure session affinity for to hit the same backend for the period specified in `timeoutSeconds`.
##
## Ref.: https://kubernetes.io/docs/reference/networking/virtual-ips/#session-affinity
#
sessionAffinity:
## Whether to enable session affinity or not.
#
enabled: false
## The session duration in seconds.
#
timeoutSeconds: 10800
## Define Service Accounts for Pods.
##
## Ref.: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
#
serviceAccount:
## Whether to create service account.
#
create: true
## Define custom service account annotations.
#
annotations: {}
# Options for the seeder job
seederJob:
## Define custom seeder job annotations.
#
annotations: {}
## Tolerations for pod assignment.
##
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
#
tolerations: []