Adding Mimir/Loki recording rules via configmap

Hey Folks o/,

I’m running a grafana-agent, mimir, grafana setup. Grafana is deployed by the official helm chart and I’m looking to add a few Mimir recording rules as per this article I can add them via the UI but I would like to add them via configmap. I’m having some troubles finding examples how this can be done. Can someone point me in the right direction?