diff --git a/charts/sxt-node-chart/templates/sxt-node-statefulset.yaml b/charts/sxt-node-chart/templates/sxt-node-statefulset.yaml index 74b7392..715ea2f 100644 --- a/charts/sxt-node-chart/templates/sxt-node-statefulset.yaml +++ b/charts/sxt-node-chart/templates/sxt-node-statefulset.yaml @@ -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 }} diff --git a/charts/sxt-node-chart/values.yaml b/charts/sxt-node-chart/values.yaml index 28e0cd2..ae13071 100644 --- a/charts/sxt-node-chart/values.yaml +++ b/charts/sxt-node-chart/values.yaml @@ -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: