-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
462 lines (458 loc) · 14.4 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
# -- Provide a name in place of the default application name.
nameOverride: ""
# -- String to fully override the default application name.
fullnameOverride: ""
# Global configuration
global:
# -- Map of environment variables to inject into backend and frontend containers.
env: {}
# -- Map of environment variables to inject into backend and frontend containers.
secrets: {}
# API configuration
api:
# -- The number of application controller pods to run.
replicaCount: 1
image:
# # Image configuration
# -- Repository to use for the API.
repository: ghcr.io/user/image
# -- Image pull policy for the API.
pullPolicy: Always
# -- Tag to use for the API.
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# # Image credentials configuration
credentials:
# -- Registry to pull images from.
registry: ""
# -- Username to pull images.
username: ""
# -- Password to pull images.
password: ""
# -- Email to pull images.
email: ""
# -- Annotations for the API deployed pods.
podAnnotations: {}
# -- Labels for the API deployed pods.
podLabels: {}
# -- Toggle and define pod-level security context.
podSecurityContext: {}
# fsGroup: 2000
# -- Init containers to add to the API pods.
initContainers: []
# - name: wait-for-db
# image: docker.io/curlimages/curl:latest
# command:
# - "/bin/sh"
# - "-c"
# args:
# - "while [ $(curl -sw '%{http_code}' http://db.svc.cluster.local -o /dev/null) -ne 200 ]; do sleep 5; echo 'Waiting for the db...'; done"
# volumeMounts:
# - mountPath: /custom-volume
# name: custom-volume
# -- Extra containers to add to the API pods as sidecars.
extraContainers: []
# - name: fluentd
# image: "fluentd"
# volumeMounts:
# - mountPath: /my-volume/config
# name: config
container:
# -- API container port.
port: 8080
# -- API container command.
command: []
# -- API container command args.
args: []
# -- Toggle and define container-level security context.
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# -- API container env variables loaded from configmap or secret reference.
envFrom: []
# - configMapRef:
# name: my-config
# - secretRef:
# name: my-secret
# -- API container env variables, it will be injected into a configmap and loaded into the container.
env:
NODE_ENV: production
# -- API container env secrets, it will be injected into a secret and loaded into the container.
secrets: {}
# -- API container healthcheck endpoint.
healthcheckPath: /api/v1/healthz
# # Deployment strategy
strategy:
# -- Strategy type used to replace old Pods by new ones, can be "Recreate" or "RollingUpdate".
type: RollingUpdate
# # Startup probe
startupProbe:
# -- Whether or not enable the probe.
enabled: true
# -- Number of seconds after the container has started before probe is initiated.
initialDelaySeconds: 0
# -- Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 1
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded.
failureThreshold: 10
# -- How often (in seconds) to perform the probe.
periodSeconds: 10
# -- Number of seconds after which the probe times out.
timeoutSeconds: 5
# # Readiness probe
readinessProbe:
# -- Whether or not enable the probe.
enabled: true
# -- Number of seconds after the container has started before probe is initiated.
initialDelaySeconds: 15
# -- Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 2
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded.
failureThreshold: 2
# -- How often (in seconds) to perform the probe.
periodSeconds: 10
# -- Number of seconds after which the probe times out.
timeoutSeconds: 5
# # Liveness probe
livenessProbe:
# -- Whether or not enable the probe.
enabled: true
# -- Number of seconds after the container has started before probe is initiated.
initialDelaySeconds: 30
# -- Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 1
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded.
failureThreshold: 3
# -- How often (in seconds) to perform the probe.
periodSeconds: 30
# -- Number of seconds after which the probe times out.
timeoutSeconds: 5
# -- Host aliases that will be injected at pod-level into /etc/hosts.
hostAliases: []
# - ip: "127.0.0.1"
# hostnames:
# - "foo.local"
# - "bar.local"
# - ip: "10.1.2.3"
# hostnames:
# - "foo.remote"
# - "bar.remote"
# -- List of extra volumes to add.
extraVolumes: []
# - name: extra-vol
# path: /host/path
# type: hostPath
# - name: extra-vol-cm
# type: configMap
# -- List of extra mounts to add (normally used with extraVolumes)
extraVolumeMounts: []
# - name: extra-vol
# mountPath: /volume/path
# - name: extra-vol-cm
# mountPath: /volume/cm/path
service:
# -- API service type.
type: ClusterIP
# -- API service port.
port: 80
# # Ingress configuration
ingress:
# -- Whether or not ingress should be enabled.
enabled: true
# -- Defines which ingress controller will implement the resource.
className: ""
# -- Additional ingress annotations.
annotations: {}
# -- Additional ingress labels.
labels: {}
# -- The list of hosts to be covered by ingress record.
hosts:
- host: api.domain.local
paths:
- path: /api
pathType: Prefix
- path: /swagger-ui
pathType: Prefix
# -- Enable TLS configuration.
tls: []
# - secretName: api.domain.local-tls
# hosts:
# - api.domain.local
# # Resource limits and requests
resources:
requests:
# -- Memory request for the API.
memory: 128Mi
# -- CPU request for the API.
cpu: 250m
limits:
# -- Memory limit for the API.
memory: 512Mi
# -- CPU limit for the API.
cpu: 500m
# # Horizontal Pod Autoscaler
autoscaling:
# -- Enable Horizontal Pod Autoscaler ([HPA]) for the API.
enabled: false
# -- Minimum number of replicas for the API [HPA].
minReplicas: 1
# -- Maximum number of replicas for the API [HPA].
maxReplicas: 3
# -- Average CPU utilization percentage for the API [HPA].
targetCPUUtilizationPercentage: 80
# -- Average memory utilization percentage for the API [HPA].
targetMemoryUtilizationPercentage: 80
# -- Default node selector for API.
nodeSelector: {}
# -- Default tolerations for API.
tolerations: []
# -- Default affinity for API.
affinity: {}
serviceAccount:
# -- Create a service account for the API.
create: true
# -- Annotations applied to created service account.
annotations: {}
# -- Service account name.
name: api
# Docs configuration
docs:
# -- The number of application controller pods to run.
replicaCount: 1
# # Image configuration
image:
# -- Repository to use for the Docs.
repository: ghcr.io/user/image
# -- Image pull policy for the Docs.
pullPolicy: Always
# -- Tag to use for the Docs.
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# # Image credentials configuration
credentials:
# -- Registry to pull images from.
registry: ""
# -- Username to pull images.
username: ""
# -- Password to pull images.
password: ""
# -- Email to pull images.
email: ""
# -- Annotations for the Docs deployed pods.
podAnnotations: {}
# -- Labels for the Docs deployed pods.
podLabels: {}
# -- Toggle and define pod-level security context.
podSecurityContext: {}
# fsGroup: 2000
# -- Init containers to add to the Docs pods.
initContainers: []
# - name: wait-for-db
# image: docker.io/curlimages/curl:latest
# command:
# - "/bin/sh"
# - "-c"
# args:
# - "while [ $(curl -sw '%{http_code}' http://db.svc.cluster.local -o /dev/null) -ne 200 ]; do sleep 5; echo 'Waiting for the db...'; done"
# volumeMounts:
# - mountPath: /custom-volume
# name: custom-volume
# -- Extra containers to add to the Docs pods as sidecars.
extraContainers: []
# - name: fluentd
# image: "fluentd"
# volumeMounts:
# - mountPath: /my-volume/config
# name: config
container:
# -- Docs container port.
port: 8080
# -- Docs container command.
command: []
# -- Docs container command args.
args: []
# -- Toggle and define container-level security context.
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# -- Docs container env variables loaded from configmap or secret reference.
envFrom: []
# - configMapRef:
# name: my-config
# - secretRef:
# name: my-secret
# -- Docs container env variables, it will be injected into a configmap and loaded into the container.
env: {}
# -- Docs container env secrets, it will be injected into a secret and loaded into the container.
secrets: {}
# -- Docs container healthcheck endpoint.
healthcheckPath: /
# # Deployment strategy
strategy:
# -- Strategy type used to replace old Pods by new ones, can be "Recreate" or "RollingUpdate".
type: RollingUpdate
# # Startup probe
startupProbe:
# -- Whether or not enable the probe.
enabled: true
# -- Number of seconds after the container has started before probe is initiated.
initialDelaySeconds: 0
# -- Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 1
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded.
failureThreshold: 10
# -- How often (in seconds) to perform the probe.
periodSeconds: 10
# -- Number of seconds after which the probe times out.
timeoutSeconds: 5
# # Readiness probe
readinessProbe:
# -- Whether or not enable the probe.
enabled: true
# -- Number of seconds after the container has started before probe is initiated.
initialDelaySeconds: 15
# -- Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 2
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded.
failureThreshold: 2
# -- How often (in seconds) to perform the probe.
periodSeconds: 10
# -- Number of seconds after which the probe times out.
timeoutSeconds: 5
# # Liveness probe
livenessProbe:
# -- Whether or not enable the probe.
enabled: true
# -- Number of seconds after the container has started before probe is initiated.
initialDelaySeconds: 30
# -- Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 1
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded.
failureThreshold: 3
# -- How often (in seconds) to perform the probe.
periodSeconds: 30
# -- Number of seconds after which the probe times out.
timeoutSeconds: 5
# -- Host aliases that will be injected at pod-level into /etc/hosts.
hostAliases: []
# - ip: "127.0.0.1"
# hostnames:
# - "foo.local"
# - "bar.local"
# - ip: "10.1.2.3"
# hostnames:
# - "foo.remote"
# - "bar.remote"
# -- List of extra volumes to add.
extraVolumes: []
# - name: extra-vol
# path: /host/path
# type: hostPath
# - name: extra-vol-cm
# type: configMap
# -- List of extra mounts to add (normally used with extraVolumes).
extraVolumeMounts: []
# - name: extra-vol
# mountPath: /volume/path
# - name: extra-vol-cm
# mountPath: /volume/cm/path
service:
# -- Docs service type.
type: ClusterIP
# -- Docs service port.
port: 80
# # Ingress configuration
ingress:
# -- Whether or not ingress should be enabled.
enabled: true
# -- Defines which ingress controller will implement the resource.
className: ""
# -- Additional ingress annotations.
annotations: {}
# -- Additional ingress labels.
labels: {}
# -- The list of hosts to be covered by ingress record.
hosts:
- host: docs.domain.local
paths:
- path: /
pathType: Prefix
# -- Enable TLS configuration.
tls: []
# - secretName: docs.domain.local-tls
# hosts:
# - docs.domain.local
# # Resource limits and requests
resources:
requests:
# -- Memory request for the Docs.
memory: 128Mi
# -- CPU request for the Docs.
cpu: 250m
limits:
# -- Memory limit for the Docs.
memory: 512Mi
# -- CPU limit for the Docs.
cpu: 500m
# # Horizontal Pod Autoscaler
autoscaling:
# -- Enable Horizontal Pod Autoscaler ([HPA]) for the Docs.
enabled: false
# -- Minimum number of replicas for the Docs [HPA].
minReplicas: 1
# -- Maximum number of replicas for the Docs [HPA].
maxReplicas: 3
# -- Average CPU utilization percentage for the Docs [HPA].
targetCPUUtilizationPercentage: 80
# -- Average memory utilization percentage for the Docs [HPA].
targetMemoryUtilizationPercentage: 80
# -- Default node selector for Docs.
nodeSelector: {}
# -- Default tolerations for Docs.
tolerations: []
# -- Default affinity for Docs.
affinity: {}
serviceAccount:
# -- Create a service account for the Docs.
create: false
# -- Annotations applied to created service account.
annotations: {}
# -- Service account name.
name: docs
# Postgresql configuration.
# # Ref: https://artifacthub.io/packages/helm/bitnami/postgresql
postgresql:
enabled: false
architecture: standalone
global:
postgresql:
auth:
postgresPassword: ""
username: ""
password: ""
database: ""
primary:
service:
type: ClusterIP
ports:
postgresql: 5432
persistence:
size: 2Gi
resources:
requests:
memory: 128Mi
cpu: 250m
limits:
memory: 512Mi
cpu: 500m
readReplicas:
persistence:
size: 2Gi