When installing loki-distributed using Helm, the default value for the schemaConfig.configs[0].from parameter does not use double quotes for the date format, which causes an installation error.
error info:
failed parsing config: /etc/loki/config/config.yaml: parsing time "2020-09-07T00:00:00.000Z": extra text: "T00:00:00.000Z". Use `-config.expand-env=true` flag if you want to expand environment variables in your config file
When installing
loki-distributed
usingHelm
, the default value for theschemaConfig.configs[0].from
parameter does not use double quotes for the date format, which causes an installation error.error info:
source code:
https://github.com/grafana/helm-charts/blob/061c43b7e297e496d5e36cb185b44add8ad952ae/charts/loki-distributed/values.yaml#L213-L216