Grafana helm notification configuration
Easy way to achieve this is by using a values.yaml file as below
notifiers: notifiers.yaml: notifiers: - name: opsgenie-notifier type: opsgenie uid: notifier-1 settings: apiKey: some-key apiUrl: https://some-server/alerts
and by installing as
helm install stable/grafana -n grafana --namespace monitoring --values values.yaml
You can do via the --set/--set-string flag as below
helm install stable/grafana -n grafana --namespace monitoring \ --set notifiers."notifiers\.yaml".notifiers[0].name="opsgenie-notifier" \ --set notifiers."notifiers\.yaml".notifiers[0].type="opsgenie" \ --set notifiers."notifiers\.yaml".notifiers[0].uid="notifier-1" \ --set notifiers."notifiers\.yaml".notifiers[0].settings.apiKey="some-key" \ --set notifiers."notifiers\.yaml".notifiers[0].settings.apiUrl="https://some-server/alerts"