Setting up alerts in kube deployment of grafana

Has anyone setup alerts in kube deployment of grafana? I see this terraform exists in terraform but wanted to know if I could do it in a kube manifest .

https://grafana.com/blog/2022/09/20/grafana-alerts-as-code-get-started-with-terraform-and-grafana-alerting/

I found it if anyone else was looking for it bottom of this doc

https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/