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
Signed by: maximilien
GPG key ID: 04FD5063D6D43365

View file

@ -4,8 +4,6 @@
# Garage configuration. These values go to garage.toml # Garage configuration. These values go to garage.toml
garage: garage:
metadataDir: "/mnt/meta"
dataDir: "/mnt/data"
# Default to 3 replicas, see the replication_mode section at # Default to 3 replicas, see the replication_mode section at
# https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/ # https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/
replicationMode: "3" replicationMode: "3"
@ -26,8 +24,8 @@ garage:
# Values can be templated # Values can be templated
# ref: https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/ # ref: https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/
garage.toml: |- garage.toml: |-
metadata_dir = "{{ .Values.garage.metadataDir }}" metadata_dir = "/mnt/meta"
data_dir = "{{ .Values.garage.dataDir }}" data_dir = "/mnt/data"
replication_mode = "{{ .Values.garage.replicationMode }}" replication_mode = "{{ .Values.garage.replicationMode }}"