Skip to content

Commit

Permalink
feat: add variable to allow using legacy --ws-port node parameter (#38
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tenequm authored Jan 2, 2024
1 parent 10d9015 commit d0c48d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/node/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,12 @@ spec:
{{- end }}
- --keystore-path=/keystore
- --base-path=/chain-data
{{- if .Values.useLegacyWsPortParameter }}
- --ws-port=9944
- --ws-external
{{- else }}
- --rpc-port=9944
{{- end }}
- --port=30333
- --prometheus-external
- --prometheus-port=9615
Expand Down
2 changes: 2 additions & 0 deletions charts/node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ storageClass: standard-rwo
command: /mangata/node
nodeNameOverride: ''

useLegacyWsPortParameter: false

## Additional args to use
extraArgs: []
env:
Expand Down

0 comments on commit d0c48d4

Please sign in to comment.