-
Notifications
You must be signed in to change notification settings - Fork 66
/
values.yaml
420 lines (353 loc) · 10.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
# -- Overrides the chart's name
nameOverride: ""
# -- Overrides the chart's computed fullname
fullnameOverride: ""
# -- Number of replicas
replicas: 1
image:
# -- dora container image repository
repository: ethpandaops/dora
# -- dora container image tag
tag: master
# -- dora container pull policy
pullPolicy: Always
# -- An array of endpoints to use for the explorer
# -- url is the only required field
endpoints:
- name: default-endpoint
url: "http://beacon-node:5052"
priority: 1
archive: false
headers:
"X-Test": "test"
"Y-Test": "test2"
# -- An array of execution endpoints to use for the explorer
# -- url is the only required field
executionEndpoints: []
#- name: default-endpoint
# url: "http://execution-node:8545"
# priority: 1
# archive: false
# headers:
# "X-Test": "test"
# "Y-Test": "test2"
# -- An array of mev relays to crawl mev data from (optional)
# -- index must be a unique id for the relay (0-62)
# -- {}
mevRelays: []
#- index: 0
# name: default-relay
# url: "http://mev-relay"
# blockLimit: 200
# -- Name of the network ("mainnet", "sepolia", "holesky")
name: mainnet
# -- This can be a url here for example:
# -- "https://config.dencun-devnet-8.ethpandaops.io/api/v1/nodes/validator-ranges"
# -- If you want to use a local range file define it in the values.yaml ranges section
validatorNamesInventory: ""
# -- Path to the network config file
# -- This can be a url or a local path
# -- "https://config.dencun-devnet-8.ethpandaops.io/cl/config.yaml"
configPath: ""
# -- Link to the el block explorer
ethExplorerLink: ""
# -- Number of proxy servers in front of the explorer
proxyCount: 1
# -- Page call limit per second per user
callRateLimit: 2
# -- Page call burst limit per user
callRateBurst: 10
# -- Config file
# @default -- See `values.yaml`
config: |
logging:
outputLevel: "info"
#outputStderr: false
#filePath: "explorer.log"
#fileLevel: "warn"
# Chain network configuration
chain:
# use built in config by name ("mainnet", "prater", "sepolia")
name: "{{ .Values.name }}"
configPath: "{{ .Values.configPath }}"
displayName: "{{ .Values.name }}"
# HTTP Server configuration
server:
host: "0.0.0.0" # Address to listen on
port: "{{ .Values.httpPort }}" # Port to listen on
frontend:
enabled: true # Enable or disable to web frontend
debug: false
minimize: false # minimize html templates
# Name of the site, displayed in the title tag
siteName: "Dora the Explorer"
siteSubtitle: "{{ .Values.name }}"
# link to EL Explorer
ethExplorerLink: "{{ .Values.ethExplorerLink }}"
# file or inventory url to load validator names from
validatorNamesYaml: "/data/ranges.yaml"
validatorNamesInventory: "{{ .Values.validatorNamesInventory }}"
rateLimit:
enabled: true
proxyCount: {{ .Values.proxyCount }}
rate: {{ .Values.callRateLimit }}
burst: {{ .Values.callRateBurst }}
beaconapi:
# CL Client RPC
endpoints:
{{- range .Values.endpoints }}
- url: {{ .url | quote }}
{{- if .name }}
name: {{ .name | quote }}
{{- end }}
{{- if .priority }}
priority: {{ .priority }}
{{- end }}
{{- if .archive }}
archive: {{ .archive }}
{{- end }}
{{- if .headers }}
headers:
{{- range $key, $value := .headers }}
{{ $key | quote | default "" }}: {{ $value | quote | default ""}}
{{- end }}
{{- end }}
{{- end }}
# local cache for page models
localCacheSize: 100 # 100MB
# remote cache for page models
redisCacheAddr: ""
redisCachePrefix: ""
executionapi:
# CL Client RPC
endpoints: {{ if not .Values.executionEndpoints }}[]{{ end }}
{{- range .Values.executionEndpoints }}
- url: {{ .url | quote }}
{{- if .name }}
name: {{ .name | quote }}
{{- end }}
{{- if .priority }}
priority: {{ .priority }}
{{- end }}
{{- if .archive }}
archive: {{ .archive }}
{{- end }}
{{- if .headers }}
headers:
{{- range $key, $value := .headers }}
{{ $key | quote | default "" }}: {{ $value | quote | default ""}}
{{- end }}
{{- end }}
{{- end }}
depositLogBatchSize: 10000
mevIndexer:
# list of mev relays to crawl mev blocks from
relays: {{ if not .Values.mevRelays }}[]{{ end }}
{{- range .Values.mevRelays }}
- index: {{ .index }}
name: {{ .name | quote }}
url: {{ .url | quote }}
{{- end }}
refreshInterval: 5m
# indexer keeps track of the latest epochs in memory.
indexer:
# max number of epochs to keep in memory
inMemoryEpochs: 6
# disable synchronizing and everything that writes to the db (indexer just maintains local cache)
disableIndexWriter: false
# number of seconds to wait between each epoch (don't overload CL client)
syncEpochCooldown: 2
database:
engine: "pgsql"
pgsql:
host: "{{ tpl .Values.postgresql.name $ }}"
port: 5432
user: "{{ .Values.postgresql.auth.username }}"
password: "{{ .Values.postgresql.auth.password }}"
name: "{{ .Values.postgresql.auth.database }}"
ranges: |
0-1: test
# - HTTP port for dora interface
httpPort: 8080
# -- Extra args for the dora container
extraArgs: []
# -- Command replacement for the dora container
customCommand: []
ingress:
# -- Ingress resource for the HTTP API
enabled: false
# -- Annotations for Ingress
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# -- Ingress host
hosts:
- host: chart-example.local
paths: []
# -- Ingress TLS
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
service:
# -- Service type
type: ClusterIP
# -- Affinity configuration for pods
affinity: {}
# -- Image pull secrets for Docker images
imagePullSecrets: []
# -- Annotations for the StatefulSet
annotations: {}
# -- Liveness probe
# @default -- See `values.yaml`
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 60
periodSeconds: 120
# -- Readiness probe
# @default -- See `values.yaml`
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 10
periodSeconds: 10
# -- Node selector for pods
nodeSelector: {}
# -- Pod labels
podLabels: {}
# -- Pod annotations
podAnnotations: {}
# -- Pod management policy
podManagementPolicy: OrderedReady
# -- Pod priority class
priorityClassName: null
# -- Resource requests and limits
resources: {}
# limits:
# cpu: 500m
# memory: 2Gi
# requests:
# cpu: 300m
# memory: 1Gi
# -- The security context for pods
# @default -- See `values.yaml`
securityContext:
fsGroup: 10001
runAsGroup: 10001
runAsNonRoot: true
runAsUser: 10001
# -- The security context for containers
# @default -- See `values.yaml`
containerSecurityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
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: ""
# -- How long to wait until the pod is forcefully terminated
terminationGracePeriodSeconds: 30
# -- Tolerations for pods
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []
# -- Topology Spread Constraints for pods
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
topologySpreadConstraints: []
# -- Define the PodDisruptionBudget spec
# If not set then a PodDisruptionBudget will not be created
podDisruptionBudget: {}
# minAvailable: 1
# maxUnavailable: 1
# -- Update stategy for the Statefulset
updateStrategy:
# -- Update stategy type
type: RollingUpdate
# -- Additional init containers
initContainers: []
# - name: my-init-container
# image: busybox:latest
# command: ['sh', '-c', 'echo hello']
# -- Additional containers
extraContainers: []
# -- Additional volumes
extraVolumes: []
# -- Additional volume mounts
extraVolumeMounts: []
# -- Additional ports. Useful when using extraContainers
extraPorts: []
# -- Additional env variables
extraEnv: []
# -- Additional env variables injected via a created secret
secretEnv: {}
persistence:
# -- Uses an EmptyDir when not enabled
enabled: false
# -- Use an existing PVC when persistence.enabled
existingClaim: null
# -- Access mode for the volume claim template
accessModes:
- ReadWriteOnce
# -- Requested size for volume claim template
size: 1Gi
# -- Use a specific storage class
# E.g 'local-path' for local storage to achieve best performance
# Read more (https://github.com/rancher/local-path-provisioner)
storageClassName: null
# -- Annotations for volume claim template
annotations: {}
# -- Selector for volume claim template
selector: {}
# matchLabels:
# app.kubernetes.io/name: something
serviceMonitor:
# -- If true, a ServiceMonitor CRD is created for a prometheus operator
# https://github.com/coreos/prometheus-operator
enabled: false
# -- Path to scrape
path: /metrics
# -- Alternative namespace for ServiceMonitor
namespace: null
# -- Additional ServiceMonitor labels
labels: {}
# -- Additional ServiceMonitor annotations
annotations: {}
# -- ServiceMonitor scrape interval
interval: 1m
# -- ServiceMonitor scheme
scheme: http
# -- ServiceMonitor TLS configuration
tlsConfig: {}
# -- ServiceMonitor scrape timeout
scrapeTimeout: 30s
# -- ServiceMonitor relabelings
relabelings: []
postgresql:
# -- If enabled a postgres chart will be deployed as a dependency
name: "{{ .Release.Name }}-postgresql"
enabled: true
image:
registry: docker.io
repository: bitnami/postgresql
tag: 15.3.0-debian-11-r7
pullPolicy: IfNotPresent
auth:
enablePostgresUser: true
postgresPassword: postgres
database: dora
username: postgres
password: postgres
primary:
extendedConfiguration: |
max_connections = 1024
persistence:
enabled: true
size: 8Gi