Skip to content

Commit

Permalink
add ability to set storage size of dal nodes in values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Dec 9, 2023
1 parent 8377099 commit 4ea8e52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/tezos/templates/octez-dal-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ spec:
- ReadWriteOnce
resources:
requests:
{{- if $v.storageSize | default false }}
storage: "{{ $v.storageSize }}"
{{- else }}
storage: "50Gi"
{{- end }}
---
{{- if $v | default false }}
{{- if $v.ingress | default false }}
Expand Down
1 change: 1 addition & 0 deletions charts/tezos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ dalNodes: {}
# secret_key:
# proof_of_work_stamp:
# dal1:
# storageSize: 50Gi
# attesterProfiles: tz1foXHgRzdYdaLgX6XhpZGxbBv42LZ6ubvE

# When spinning up nodes, tezos-k8s will attempt to download a snapshot from a
Expand Down

0 comments on commit 4ea8e52

Please sign in to comment.