aboutsummaryrefslogtreecommitdiff
path: root/script/helm
diff options
context:
space:
mode:
authorPatrick Jahns <kontakt@patrickjahns.de>2022-11-16 20:36:20 +0100
committerMaximilien Richer <me@mricher.fr>2023-01-27 00:08:32 +0100
commite17970773a14fb455ee945f77586080a11fc3f34 (patch)
tree5699f0bd71df26b74b6ab5ab8869985ab46b1123 /script/helm
parent88b66c69a5d596ab967dba192ebf7742152fdfcc (diff)
downloadgarage-e17970773a14fb455ee945f77586080a11fc3f34.tar.gz
garage-e17970773a14fb455ee945f77586080a11fc3f34.zip
refactor(helm): removed metadataDir and dataDir config variable
The variables were only templated into the configuration file and did not change the pod mountpaths, so the variables were not necessary
Diffstat (limited to 'script/helm')
-rw-r--r--script/helm/garage/values.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/script/helm/garage/values.yaml b/script/helm/garage/values.yaml
index a60fa569..d7e7ddbf 100644
--- a/script/helm/garage/values.yaml
+++ b/script/helm/garage/values.yaml
@@ -4,8 +4,6 @@
# Garage configuration. These values go to garage.toml
garage:
- metadataDir: "/mnt/meta"
- dataDir: "/mnt/data"
# Default to 3 replicas, see the replication_mode section at
# https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/
replicationMode: "3"
@@ -26,8 +24,8 @@ garage:
# Values can be templated
# ref: https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/
garage.toml: |-
- metadata_dir = "{{ .Values.garage.metadataDir }}"
- data_dir = "{{ .Values.garage.dataDir }}"
+ metadata_dir = "/mnt/meta"
+ data_dir = "/mnt/data"
replication_mode = "{{ .Values.garage.replicationMode }}"