Hello
I am trying to deploy my grafana to a cluster. I was able to deploy both dashboards and datasources via helm charts using the information in the grafana docs and the helm charts examples:
I have some issues with deploying the alerting. The examples all mention doing the same thing as the datasources, which is to place the alert yamls contents in the values.yaml file.
This does not work for me because the alert yamls are way too big to place whole in the values.yaml
Is it possible to deploy the alerts with a configMap like we do for dashboards?
Here is what i am doing to deploy dashboards:
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards
dashboardsConfigMaps:
grafana-dashboard-kub-cluster: grafana-dashboard-kub-cluster
Could i do a similar thing for alerting?
Thank you