Skip to content

Commit

Permalink
Merge pull request #95 from paritytech/change-relayChainCustomChainsp…
Browse files Browse the repository at this point in the history
…ecPath

Fix relayChainCustomChainspecPath to match what is defined in variables
  • Loading branch information
PierreBesson authored Jun 21, 2022
2 parents e3c659d + 07df0c4 commit 6952419
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: node
description: A Helm chart to deploy Substrate/Polkadot nodes
type: application
version: 2.5.1
version: 2.6.0
maintainers:
- name: Parity
url: https://github.com/paritytech/helm-charts
6 changes: 3 additions & 3 deletions charts/node/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ spec:
{{- end }}
{{- if .Values.node.collator.relayChainCustomChainspecUrl }}
{{- if not .Values.node.forceDownloadChainspec }}
if [ ! -f {{ .Values.node.relayChainCustomChainspecPath }} ]; then
if [ ! -f {{ .Values.node.collator.relayChainCustomChainspecPath }} ]; then
{{- end }}
wget -O {{ .Values.node.relayChainCustomChainspecPath }} {{ .Values.node.collator.relayChainCustomChainspecUrl }}
wget -O {{ .Values.node.collator.relayChainCustomChainspecPath }} {{ .Values.node.collator.relayChainCustomChainspecUrl }}
{{- if not .Values.node.forceDownloadChainspec }}
fi
{{- end }}
Expand Down Expand Up @@ -384,7 +384,7 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.node.collator.relayChainCustomChainspecUrl }}
--chain={{ .Values.node.relayChainCustomChainspecPath }} \
--chain={{ .Values.node.collator.relayChainCustomChainspecPath }} \
{{- end }}
{{- if (or $.Values.node.perNodeServices.relayP2pService.enabled ) }}
{{- if .Values.node.perNodeServices.setPublicAddressToExternalIp.enabled }}
Expand Down

0 comments on commit 6952419

Please sign in to comment.