forked from taikoxyz/taiko-helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
252 lines (216 loc) · 6.7 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
# -- Overrides the chart's name
nameOverride: ""
# -- Overrides the chart's computed fullname
fullnameOverride: ""
image:
# -- beaconchain-explorer container image repository
repository: gobitfly/eth2-beaconchain-explorer
# -- beaconchain-explorer container image tag
tag: latest
# -- beaconchain-explorer container pull policy
pullPolicy: IfNotPresent
# -- Custom args for the beaconchain-explorer container
customArgs: []
#- -config-file=/somehwere-else.yaml
#- -output-dir=public
# -- Command replacement for the beaconchain-explorer container
customCommand: [] # Only change this if you need to change the default command
# -- Config file
# @default -- See `values.yaml`
config:
# Database credentials
database:
user: "postgres"
name: "explorer"
host: "beaconchain-explorer-postgresql"
port: "5432"
password: "postgres"
# Chain network configuration (example will work for the prysm testnet)
chain:
slotsPerEpoch: 32
secondsPerSlot: 12
genesisTimestamp: 1573489682
minGenesisActiveValidatorCount: 16384
# Note: It is possible to run either the frontend or the indexer or both at the same time
# Frontend config
frontend:
enabled: true # Enable or disable to web frontend
phase0path: "./phase0.yml"
imprint: "templates/imprint.example.html}**" # Path to the imprint page content
siteName: "Ethereum 2.0 Beacon Chain Block Chain Explorer" # Name of the site, displayed in the title tag
siteSubtitle: "Watching all the blocks" # Subtitle shown on the main page
csrfAuthKey: '0123456789abcdef000000000000000000000000000000000000000000000000'
jwtSigningSecret: "0123456789abcdef000000000000000000000000000000000000000000000000"
jwtIssuer: "beaconchain.localhost"
jwtValidityInMinutes: 30
server:
host: "0.0.0.0" # Address to listen on
port: "3333" # Port to listen on
database:
user: "postgres"
name: "explorer"
host: "beaconchain-explorer-postgresql"
port: "5432"
password: "postgres"
#sessionSecret: "<sessionSecret>"
#email:
# smtp:
# server: "<emailserver>"
# host: "<emailhost>"
# user: "<emailuser>"
# password: "<emailpassword>"
#flashSecret: "" # Encryption secret for flash cookies
# Indexer config
indexer:
enabled: true # Enable or disable the indexing service
fullIndexOnStartup: false # Perform a one time full db index on startup
indexMissingEpochsOnStartup: false # Check for missing epochs and export them after startup
node:
host: "prysm-beacon" # Address of the backend node
port: "4000" # port of the backend node
type: "prysm" # can be either prysm or lighthouse
pageSize: 500 # the amount of entries to fetch per paged rpc call
eth1Endpoint: 'https://holesky.infura.io/v3/<api-token>'
eth1DepositContractAddress: '0x5cA1e00004366Ac85f492887AAab12d0e6418876'
eth1DepositContractFirstBlock: 2523557
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: {}
postgresql:
# -- If enabled a postgres chart will be deployed as a dependency
enabled: true
image:
registry: docker.io
repository: bitnami/postgresql
tag: 11.13.0-debian-10-r58
pullPolicy: IfNotPresent
initdbUser: postgres
initdbPassword: postgres
postgresqlDatabase: explorer
postgresqlUsername: postgres
postgresqlPassword: postgres
persistence:
enabled: true
size: 8Gi
# -- How to init the PSQL DB
# @default -- See `values.yaml`
initdbScripts:
init_01.sql: |
CREATE DATABASE explorer;
init_02_db.sh: |
#!/bin/sh
curl https://raw.githubusercontent.com/gobitfly/eth2-beaconchain-explorer/master/tables.sql -o /tmp/tables.sql
PGPASSWORD=postgres psql -U postgres -h 127.0.0.1 -d explorer -f /tmp/tables.sql
rm /tmp/tables.sql