Skip to content

Commit

Permalink
[IBC] Enable validators and thus IBC host creation in K8s (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
h5law authored and red-0ne committed Aug 2, 2023
1 parent 950ccc3 commit d3bf0ad
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/localnet/manifests/cli-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ spec:
secretKeyRef:
name: validators-private-keys
key: "001"
- name: POCKET_IBC_HOST_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: validators-private-keys
key: "001"
- name: POSTGRES_USER
value: "postgres"
- name: POSTGRES_PASSWORD
Expand Down
1 change: 1 addition & 0 deletions charts/pocket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ privateKeySecretKeyRef:
| config.telemetry.endpoint | string | `"/metrics"` | |
| config.utility.max_mempool_transaction_bytes | int | `1073741824` | |
| config.utility.max_mempool_transactions | int | `9000` | |
| config.validator.enabled | bool | `true` | |
| externalPostgresql.database | string | `""` | name of the external database |
| externalPostgresql.enabled | bool | `false` | use external postgres database |
| externalPostgresql.host | string | `""` | host of the external database |
Expand Down
5 changes: 5 additions & 0 deletions charts/pocket/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ spec:
secretKeyRef:
name: {{ .Values.privateKeySecretKeyRef.name | quote }}
key: {{ .Values.privateKeySecretKeyRef.key | quote }}
- name: POCKET_IBC_HOST_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: {{ .Values.privateKeySecretKeyRef.name | quote }}
key: {{ .Values.privateKeySecretKeyRef.key | quote }}
{{ end }}
- name: POSTGRES_USER
{{ include "pocket.postgresqlUserValueOrSecretRef" . | nindent 14 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/pocket/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ config:
port: "50832"
timeout: 30000
use_cors: false
validator:
enabled: true
servicer:
enabled: false
fisherman:
Expand Down

0 comments on commit d3bf0ad

Please sign in to comment.