Skip to content

Commit

Permalink
Merge pull request #9 from chainflip-io/fix/bye-ws
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjohnburton authored Aug 23, 2023
2 parents 0694de8 + 55b61fd commit b1794b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
4 changes: 2 additions & 2 deletions charts/node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ maintainers:

type: application

version: 0.1.7
version: 0.1.8

appVersion: "0.8.7"
appVersion: "0.9.0"
4 changes: 0 additions & 4 deletions charts/node/templates/node-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ metadata:
spec:
type: {{ .Values.node.service.type }}
ports:
- name: ws
port: {{ .Values.node.ports.ws }}
targetPort: ws
protocol: TCP
- name: rpc
port: {{ .Values.node.ports.rpc }}
targetPort: rpc
Expand Down
6 changes: 1 addition & 5 deletions charts/node/templates/node-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ spec:
args:
- --base-path={{ .Values.common.basePath }}
- --chain={{ include "chainflip-node.chain" . }}
- --trie-cache-size=0
{{- range .Values.network.bootnodes }}
- --bootnodes={{ . }}
{{- end }}
Expand All @@ -86,7 +87,6 @@ spec:
- --state-pruning=archive
{{- end }}
- --port={{ .Values.node.ports.p2p }}
- --ws-port={{ .Values.node.ports.ws }}
- --rpc-port={{ .Values.node.ports.rpc }}
{{- if .Values.node.metrics.enabled }}
- --prometheus-port={{ .Values.node.metrics.port }}
Expand All @@ -97,14 +97,10 @@ spec:
- --rpc-cors=all
- --rpc-methods=unsafe
- --unsafe-rpc-external
- --unsafe-ws-external
{{- with .Values.node.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: ws
containerPort: {{ .Values.node.ports.ws }}
protocol: TCP
- name: rpc
containerPort: {{ .Values.node.ports.rpc }}
protocol: TCP
Expand Down
4 changes: 1 addition & 3 deletions charts/node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ node:

# -- ports exposed by the chainflip-node
ports:
# -- chainflip-node ws port
ws: "9944"
# -- chainflip-node rpc port
rpc: "9933"
rpc: "9944"
# -- chainflip-node p2p port
p2p: "30333"

Expand Down

0 comments on commit b1794b1

Please sign in to comment.