Skip to content

Commit

Permalink
fix(node): archive node shouldn't mount keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjohnburton committed Aug 21, 2023
1 parent f2ce093 commit 07fa6d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions charts/node/templates/node-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ spec:
volumeMounts:
- name: data
mountPath: {{ .Values.common.basePath }}
{{- if eq .Values.common.role "validator" }}
- name: keys
mountPath: {{ .Values.common.keys.keysPath }}
{{- end }}
volumes:
{{- if eq .Values.common.role "validator" }}
- name: keys
Expand All @@ -138,12 +140,11 @@ spec:
- key: ethereum-key
path: {{ .Values.common.keys.ethereumKeyFileName }}
{{- end }}
{{- if .Values.node.persistence.existingClaim }}
{{- if .Values.node.persistence.existingClaim }}
- name: data
persistentVolumeClaim:
claimName: {{ .Values.node.persistence.existingClaim }}
{{- end }}
{{- if eq .Values.node.persistence.existingClaim "" }}
{{- else }}
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
Expand Down

0 comments on commit 07fa6d0

Please sign in to comment.