Skip to content

Commit

Permalink
interbtc-parachain: add rpc.unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Jul 29, 2022
1 parent 6b05d94 commit 47a9840
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/interbtc-parachain/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Helm chart for PolkaBTC

type: application
apiVersion: v2
version: 0.4.8
version: 0.4.9
appVersion: 2.0.0

home: https://interlay.io/
Expand Down
6 changes: 6 additions & 0 deletions charts/interbtc-parachain/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,15 @@ spec:
- --base-path={{ .Values.basePath }}
- --name={{ .Values.nodeName | default .Release.Name }}
{{- if .Values.rpc.enabled }}
{{- if .Values.rpc.unsafe }}
- --unsafe-rpc-external
- --unsafe-ws-external
- --rpc-methods=Unsafe
{{- else }}
- --safe-rpc-external
- --safe-ws-external
- --rpc-methods=Safe
{{- end }}
- --rpc-cors=all
{{- end }}
{{- if .Values.telemetry.enabled }}
Expand Down
1 change: 1 addition & 0 deletions charts/interbtc-parachain/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ telemetry:

rpc:
enabled: true
unsafe: true

monitoring:
enabled: true
Expand Down

0 comments on commit 47a9840

Please sign in to comment.