17 lines
391 B
YAML
Raw Normal View History

2022-11-11 16:21:17 -08:00
---
apiVersion: 1
datasources:
- name: Blocky logs
url: 127.0.0.1:3306
2023-03-24 11:24:36 -07:00
# TODO: Looking for an acl friendly way to expose this since it's a variable in blocky setup
database: blocky
2022-11-11 16:21:17 -08:00
type: mysql
isDefault: false
version: 1
2023-03-24 11:24:36 -07:00
{{ with nomadVar "nomad/jobs/grafana" -}}
user: {{ .db_user_ro }}
2022-11-11 16:21:17 -08:00
secureJsonData:
2023-03-24 11:24:36 -07:00
password: {{ .db_pass_ro }}
{{- end }}