Skip to content

Commit

Permalink
Merge pull request #18 from chainflip-io/fix/engine-data
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjohnburton authored Sep 5, 2023
2 parents 1238ef9 + 6daec4c commit d3c1759
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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.2.2
version: 0.2.3

appVersion: "0.9.0"
2 changes: 1 addition & 1 deletion charts/node/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node

![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)
![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)

Deploy a Chainflip Validator or Archive node on Kubernetes

Expand Down
8 changes: 5 additions & 3 deletions charts/node/templates/engine-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
{{- end }}
volumeMounts:
- name: data
mountPath: {{ .Values.common.basePath }}/data.db
mountPath: {{ .Values.common.basePath }}
- name: keys
mountPath: {{ .Values.common.keys.keysPath }}
readOnly: true
Expand Down Expand Up @@ -134,8 +134,10 @@ spec:
- name: data
persistentVolumeClaim:
claimName: {{ .Values.engine.persistence.existingClaim }}
{{- end }}
{{- if eq .Values.engine.persistence.existingClaim "" }}
{{- else }}
- name: data
persistentVolumeClaim:
claimName: data
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
Expand Down

0 comments on commit d3c1759

Please sign in to comment.