diff --git a/charts/tezos/templates/baker.yaml b/charts/tezos/templates/baker.yaml index 1b7af5680..dabdb1dd3 100644 --- a/charts/tezos/templates/baker.yaml +++ b/charts/tezos/templates/baker.yaml @@ -103,5 +103,5 @@ spec: - ReadWriteOnce resources: requests: - storage: "15Gi" + storage: {{ .Values.baker_statefulset.storage_size }} {{- end }} diff --git a/charts/tezos/templates/node.yaml b/charts/tezos/templates/node.yaml index ccaabb1e9..ad309df9c 100644 --- a/charts/tezos/templates/node.yaml +++ b/charts/tezos/templates/node.yaml @@ -42,4 +42,4 @@ spec: - ReadWriteOnce resources: requests: - storage: "15Gi" + storage: {{ .Values.regular_node_statefulset.storage_size }} diff --git a/charts/tezos/values.yaml b/charts/tezos/values.yaml index 0b9840d14..6e0fc47da 100644 --- a/charts/tezos/values.yaml +++ b/charts/tezos/values.yaml @@ -25,9 +25,11 @@ tezos_k8s_images: baker_statefulset: # charts/tezos/templates/baker.yaml name: tezos-baking-node node_type: baking + storage_size: 15Gi regular_node_statefulset: # charts/tezos/templates/node.yaml name: tezos-node node_type: regular + storage_size: 15Gi # For non-public chains the defualt mutez given to an account if the # account is not explicitly set below.