Skip to content

Commit 510011d

Browse files
committed
chore(hyperliquid): add gossip override
1 parent d15ae08 commit 510011d

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

Diff for: charts/hyperliquid/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type: application
2121
# This is the chart version. This version number should be incremented each time you make changes
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
24-
version: 0.1.0
24+
version: 0.1.1
2525

2626
# This is the version number of the application being deployed. This version number should be
2727
# incremented each time you make changes to the application. Versions are not expected to

Diff for: charts/hyperliquid/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# hyperliquid
22

3-
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
3+
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
44

55
A Helm chart for running a hyperliquid node
66

@@ -16,6 +16,7 @@ A Helm chart for running a hyperliquid node
1616
| Key | Type | Default | Description |
1717
|-----|------|---------|-------------|
1818
| affinity | object | `{}` | |
19+
| gossipOverride | bool | `false` | |
1920
| imagePullSecrets | list | `[]` | |
2021
| node.image.pullPolicy | string | `"IfNotPresent"` | |
2122
| node.image.repository | string | `"ghcr.io/chronicleprotocol/hyperliquid"` | |

Diff for: charts/hyperliquid/templates/gossip-override.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{{- if .Values.gossipOverride }}
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: gossip-override
6+
data:
7+
override_gossip_config.json: |
8+
{ "root_node_ips": [{"Ip": "20.188.6.225"}, {"Ip": "74.226.182.22"}, {"Ip": "57.182.103.24"}, {"Ip": "3.115.170.40"}, {"Ip": "46.105.222.166"}, {"Ip": "91.134.41.52"}], "try_new_peers": false, "chain": "Mainnet" }
9+
{{- end }}

Diff for: charts/hyperliquid/templates/statefulset.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ spec:
4848
- mountPath: /home/hluser/hl/data
4949
name: hl-data
5050
{{- end }}
51+
{{- if .Values.gossipOverride }}
52+
- mountPath: /home/hluser/override_gossip_config.json
53+
subPath: override_gossip_config.json
54+
name: gossip-override
55+
{{- end }}
5156
- image: '{{ tpl .Values.pruner.image.repository $ }}:{{ tpl .Values.pruner.image.tag $ | default "latest" }}'
5257
imagePullPolicy: {{ .Values.pruner.image.pullPolicy }}
5358
securityContext:
@@ -74,3 +79,8 @@ spec:
7479
persistentVolumeClaim:
7580
claimName: '{{ include "hyperliquid.fullname" . }}-node-hl-data'
7681
{{- end }}
82+
{{- if .Values.gossipOverride }}
83+
- name: gossip-override
84+
configMap:
85+
name: gossip-override
86+
{{- end }}

Diff for: charts/hyperliquid/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
66
replicaCount: 1
77

8+
gossipOverride: false
9+
810
# node configuration
911
node:
1012
replicas: 1

0 commit comments

Comments
 (0)