-
Notifications
You must be signed in to change notification settings - Fork 33
/
values.yaml
227 lines (204 loc) · 6.34 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
## @section Global parameters
## Please, note that this will override the parameters, including dependencies, configured to use the global value
##
global:
postgresql:
## @param global.postgresql.service.ports.postgresql PostgreSQL service port (overrides `service.ports.postgresql`)
##
service:
ports:
postgresql: "5432"
postgresql:
# -- deploy postgresql database automatically. Refer to https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml for additional options.
enabled: true
primary:
persistence:
# -- enable persistent volume claim for PostgreSQL
enabled: false
# -- size of the persistent volume claim for PostgreSQL
size: 8Gi
externalPostgresql:
# -- use external postgres database
enabled: false
# -- host of the external database
host: ""
# -- port of the external database
port: 5432
# -- name of the external database
database: ""
userSecretKeyRef:
# -- name of the Secret in the same namespace that contains the database user
name: ""
# -- key in the Secret that contains the database user
key: ""
passwordSecretKeyRef:
# -- name of the Secret in the same namespace that contains the database password
name: ""
# -- key in the Secret that contains the database password
key: ""
persistence:
# -- enable persistent volume claim
enabled: true
# -- size of the persistent volume claim
size: 8Gi
# -- storage class of the persistent volume claim
storageClass: ""
# -- annotations of the persistent volume claim
annotations: {}
# -- persistent Volume Access Modes
accessModes:
- ReadWriteOnce
# -- selector to match an existing Persistent Volume
selector: {}
# -- persistent volume reclaim policy
reclaimPolicy: Delete
# -- name of an existing PVC to use for persistence
existingClaim: ""
# -- custom data source of the persistent volume claim
dataSource: {}
# -- type of the blockchain node to run. Can be either `full`, `validator`, `servicer`, `fishermen`
nodeType: "full"
privateKeySecretKeyRef:
# -- REQUIRED. Name of the Secret in the same namespace that contains the private key of the node
name: ""
# -- REQUIRED. Key in the Secret that contains the private key of the node
key: ""
config:
root_directory: "/go/src/github.com/pocket-network"
private_key: "" # @ignored This value is needed but ignored - use privateKeySecretKeyRef instead
consensus:
max_mempool_bytes: 500000000
pacemaker_config:
timeout_msec: 10000
manual: true
debug_time_between_steps_msec: 1000
private_key: "" # @ignored This value is needed but ignored - use privateKeySecretKeyRef instead
utility:
max_mempool_transaction_bytes: 1073741824
max_mempool_transactions: 9000
persistence:
postgres_url: "" # @ignored This value is needed but ignored - if you wish to connect to the external database, use externalPostgresql instead
node_schema: pocket
block_store_path: "/pocket/data/block-store"
tx_indexer_path: "/pocket/data/tx-indexer"
trees_store_dir: "/pocket/data/trees"
max_conns_count: 50
min_conns_count: 1
max_conn_lifetime: 5m
max_conn_idle_time: 1m
health_check_period: 30s
p2p:
hostname: ""
port: 42069
use_rain_tree: true
is_empty_connection_type: false
private_key: "" # @ignored This value is needed but ignored - use privateKeySecretKeyRef instead
max_mempool_count: 100000
telemetry:
enabled: true
address: 0.0.0.0:9000
endpoint: "/metrics"
logger:
level: debug
format: json
rpc:
enabled: true
port: "50832"
timeout: 30000
use_cors: false
servicer:
enabled: false
fisherman:
enabled: false
genesis:
preProvisionedGenesis:
# -- Use genesis file supplied by the Helm chart, of false refer to `genesis.externalConfigMap`
enabled: true
# -- Type of the genesis file to use, can be `devnet`, `testnet`, `mainnet`
type: devnet
externalConfigMap:
# -- Name of the ConfigMap that contains the genesis file, only used if `genesis.preProvisionedGenesis.enabled` is false
name: ""
# -- Key in the ConfigMap that contains the genesis file, only used if `genesis.preProvisionedGenesis.enabled` is false
key: ""
image:
# -- image repository
repository: ghcr.io/pokt-network/pocket-v1
# -- image pull policy
pullPolicy: IfNotPresent
# -- image tag
tag: "latest"
# -- image pull secrets
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
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: ""
# -- pod annotations
podAnnotations: {}
podSecurityContext:
{}
# fsGroup: 2000
securityContext:
{}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
nameOverride: ""
# -- service annotations
annotations: {}
# -- service type
type: ClusterIP
# If adjusting values here, please make sure to also change the configuration of the pocket node (`config` section above)
ports:
# -- consensus port of the node
consensus: 42069
# -- rpc port of the node
rpc: 50832
# -- OpenTelemetry metrics port of the node
metrics: 9000
serviceMonitor:
# -- enable service monitor
enabled: false
ingress:
# -- enable ingress for RPC port
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
# -- resources limits and requests
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}