It seems that the Helm was interpreting badly and did not take the values, in the case of Loki they must go in loki.loki.
This is confusing because it does not happen for grafana, neither mimir nor tempo.
This link helped me a lot https://github.com/daviaraujocc/lgtm-stack/blob/main/helm/values-lgtm.local.yaml