Skip to content

Commit 6736454

Browse files
authored
[IBC] Enable validators and thus IBC host creation in K8s (#942)
1 parent bfc57eb commit 6736454

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

build/localnet/manifests/cli-client.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ spec:
5757
secretKeyRef:
5858
name: validators-private-keys
5959
key: "001"
60+
- name: POCKET_IBC_HOST_PRIVATE_KEY
61+
valueFrom:
62+
secretKeyRef:
63+
name: validators-private-keys
64+
key: "001"
6065
- name: POSTGRES_USER
6166
value: "postgres"
6267
- name: POSTGRES_PASSWORD

charts/pocket/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ privateKeySecretKeyRef:
7777
| config.telemetry.endpoint | string | `"/metrics"` | |
7878
| config.utility.max_mempool_transaction_bytes | int | `1073741824` | |
7979
| config.utility.max_mempool_transactions | int | `9000` | |
80+
| config.validator.enabled | bool | `true` | |
8081
| externalPostgresql.database | string | `""` | name of the external database |
8182
| externalPostgresql.enabled | bool | `false` | use external postgres database |
8283
| externalPostgresql.host | string | `""` | host of the external database |

charts/pocket/templates/statefulset.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ spec:
8181
secretKeyRef:
8282
name: {{ .Values.privateKeySecretKeyRef.name | quote }}
8383
key: {{ .Values.privateKeySecretKeyRef.key | quote }}
84+
- name: POCKET_IBC_HOST_PRIVATE_KEY
85+
valueFrom:
86+
secretKeyRef:
87+
name: {{ .Values.privateKeySecretKeyRef.name | quote }}
88+
key: {{ .Values.privateKeySecretKeyRef.key | quote }}
8489
{{ end }}
8590
- name: POSTGRES_USER
8691
{{ include "pocket.postgresqlUserValueOrSecretRef" . | nindent 14 }}

charts/pocket/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ config:
113113
port: "50832"
114114
timeout: 30000
115115
use_cors: false
116+
validator:
117+
enabled: true
116118
servicer:
117119
enabled: false
118120
fisherman:

0 commit comments

Comments
 (0)