Skip to content

Commit

Permalink
feat(hermes): update chart to include readiness config
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati committed Jun 12, 2024
1 parent fc91198 commit 24df9cf
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
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

0 comments on commit 24df9cf

Please sign in to comment.