Skip to content

Commit

Permalink
polkabtc-parachain: add persistence.enabled flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Nov 4, 2021
1 parent 7ef2662 commit c40603c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/polkabtc-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.2.33
version: 0.2.34
appVersion: 2.0.0

home: https://interlay.io/
Expand Down
12 changes: 6 additions & 6 deletions charts/polkabtc-parachain/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ spec:
echo "Skipping relaychain snapshot download."
fi
{{- end }}
volumes:
{{- if .Values.chainspecLoader.enabled }}
- name: chainspec-data
emptyDir: {}
{{- end }}
{{- if .Values.nodeKey.enabled }}
- name: node-key
secret:
Expand Down Expand Up @@ -152,9 +147,14 @@ spec:
- name: chainspec-data
mountPath: /chainspec
{{- end }}
{{- if .Values.persistence.enabled }}
- name: {{ .Chart.Name }}-state
mountPath: {{ .Values.basePath }}
volumes:
{{- if .Values.chainspecLoader.enabled }}
- name: chainspec-data
emptyDir: {}
{{- end }}
{{- if .Values.persistence.enabled }}
volumeClaimTemplates:
- metadata:
name: {{ .Chart.Name }}-state
Expand Down

0 comments on commit c40603c

Please sign in to comment.