Skip to content

Commit

Permalink
feat: Updated sxt-node charts to support configurable RPC options (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdaJane-SxT authored Nov 11, 2024
2 parents 0b6e88f + 6c22d48 commit c61d94c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
12 changes: 6 additions & 6 deletions charts/sxt-node-chart/templates/sxt-node-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,18 @@ spec:
{{- end }}
{{- if .Values.sxt.isRpcNode }}
- --rpc-rate-limit
- "250"
- "{{ .Values.sxt.rpc.rate }}"
- --rpc-external
- --rpc-methods
- "safe"
- "{{ .Values.sxt.rpc.methods }}"
- --rpc-port
- "{{ .Values.sxt.rpcPort }}"
- "{{ .Values.sxt.rpc.port }}"
- --rpc-max-connections
- "10000"
- "{{ .Values.sxt.rpc.maxConnections }}"
- --rpc-max-request-size
- "1024"
- "{{ .Values.sxt.rpc.maxRequestSize }}"
- --rpc-max-response-size
- "1024"
- "{{ .Values.sxt.rpc.maxResponseSize }}"
- --rpc-cors
- "all"
{{- end }}
Expand Down
8 changes: 7 additions & 1 deletion charts/sxt-node-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ sxt:
tag: "testnet-0.45.1"
p2pService: true
port: 30333
rpcPort: 9944
rpc:
port: 9944
rate: 250
methods: "safe"
maxConnections: 10000
maxRequestSize: 1024
maxResponseSize: 1024
p2pLbPort: 30333
genesisPath:
bootnodes:
Expand Down

0 comments on commit c61d94c

Please sign in to comment.