Skip to content

Commit

Permalink
Create emptyDir volume for geth devchain dir
Browse files Browse the repository at this point in the history
  • Loading branch information
chainchad authored and skudasov committed Nov 30, 2023
1 parent 5266d66 commit 302cb0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/chainlink-cluster/templates/geth-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
- name: configmap-volume
configMap:
name: geth-cm
- name: devchain-volume
emptyDir: {}
securityContext:
{{- toYaml $.Values.geth.podSecurityContext | nindent 8 }}
containers:
Expand All @@ -31,6 +33,8 @@ spec:
image: "{{ default "ethereum/client-go" .Values.geth.image }}:{{ default "stable" .Values.geth.version }}"
command: [ "sh", "/app/init.sh" ]
volumeMounts:
- name: devchain-volume
mountPath: /app/.ethereum/devchain
- name : configmap-volume
mountPath: /app/init.sh
subPath: init.sh
Expand Down

0 comments on commit 302cb0d

Please sign in to comment.