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

feat(hermes): update chart to include readiness config #27

Merged
merged 1 commit into from
Jun 12, 2024
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
4 changes: 2 additions & 2 deletions charts/hermes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: hermes
description: Pyth cross-chain server
type: application
version: 1.0.0
appVersion: v0.5.7
version: 1.1.0
appVersion: v0.5.14
4 changes: 3 additions & 1 deletion charts/hermes/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hermes

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.5.7](https://img.shields.io/badge/AppVersion-v0.5.7-informational?style=flat-square)
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.5.14](https://img.shields.io/badge/AppVersion-v0.5.14-informational?style=flat-square)

Pyth cross-chain server

Expand All @@ -10,6 +10,8 @@ Pyth cross-chain server
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| hermes.aggregateReadinessMaxAllowedSlotLag | int | `10` | Aggregate readiness max allowed slot lag |
| hermes.aggregateReadinessStalenessThreshold | string | `"30s"` | Aggregate readiness staleness threshold |
| hermes.benchmarks.enabled | bool | `true` | Enable benchmarks. Benchmarks endpoint does not support Hermes Beta yet and you need to disable it for that. |
| hermes.benchmarks.endpoint | string | `"https://benchmarks.pyth.network"` | Benchmarks endpoint. |
| hermes.logLevel | string | `"warn"` | Hermes log level. Valid values are: trace, debug, info, warn, error |
Expand Down
4 changes: 4 additions & 0 deletions charts/hermes/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ spec:
command:
- hermes
- run
- --aggregate-readiness-staleness-threshold
- {{ .Values.hermes.aggregateReadinessStalenessThreshold }}
- --aggregate-readiness-max-allowed-slot-lag
- "{{ .Values.hermes.aggregateReadinessMaxAllowedSlotLag }}"
- --pythnet-http-addr
- {{ required "hermes.pythnetHttpAddr is required" .Values.hermes.pythnetHttpAddr }}
- --pythnet-ws-addr
Expand Down
7 changes: 7 additions & 0 deletions charts/hermes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
hermes:
# -- Hermes log level. Valid values are: trace, debug, info, warn, error
logLevel: warn

# -- Aggregate readiness staleness threshold
aggregateReadinessStalenessThreshold: 30s

# -- Aggregate readiness max allowed slot lag
aggregateReadinessMaxAllowedSlotLag: 10

# -- Pythnet Http RPC address. Must be set. Example: http://1.2.3.4:8899
pythnetHttpAddr:
# -- Pythnet Websocket RPC address. Must be set. Example: ws://1.2.3.4:8900
Expand Down
Loading