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
This commit is contained in:
Patrick Jahns 2022-11-16 20:36:20 +01:00 committed by Maximilien Richer
parent 88b66c69a5
commit e17970773a
No known key found for this signature in database
GPG key ID: 04FD5063D6D43365

View file

@ -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 }}"