Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IBC] Enable validators and thus IBC host creation in K8s #942

Merged
merged 4 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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