If i deploy the loki helm chart with the rules_directory set to /var/loki/rules the pod will output in the log that the file /var/loki/rules-temp can not be found:
level=info caller=mapper.go:46 msg="cleaning up mapped rules directory" path=/var/loki/rules-temp
level=error caller=mapper.go:50 msg="unable to read rules directory" path=/var/loki/rules-temp err="open /var/loki/rules-temp: no such file or directory"
Describe the bug
If i deploy the loki helm chart with the
rules_directory
set to/var/loki/rules
the pod will output in the log that the file/var/loki/rules-temp
can not be found:To Reproduce Steps to reproduce the behavior:
loki-0
pod:Expected behavior
I would expect that the log file should show the
/var/loki/rules
file instead/var/loki/rules-temp
because the first one is set asrules_repository
.Environment:
Screenshots, Promtail config, or terminal output If applicable, add any output to help explain your problem.