Installs yesoreyeram-infinity-datasource on the Grafana pod so it can call Actual's own ActualQL run-query endpoint directly (group-by/sum over any field), instead of being limited to the fixed counters actual-budget-exporter publishes. The datasource connection itself (URL + x-api-key) is added by hand in the Grafana UI, not provisioned here — keeps the API key out of git without needing a dedicated K8s Secret for it.
34 lines
879 B
YAML
34 lines
879 B
YAML
grafana:
|
|
persistence:
|
|
enabled: true
|
|
storageClassName: nfs-delete
|
|
size: 5Gi
|
|
# Installs the Infinity datasource plugin so Grafana can query a plain
|
|
# REST API (actual-http-api) directly — see README for wiring it up.
|
|
# The datasource itself (URL + x-api-key) is added by hand in the Grafana
|
|
# UI, not provisioned here — avoids a second hand-created Secret just for
|
|
# this one credential.
|
|
plugins:
|
|
- yesoreyeram-infinity-datasource
|
|
|
|
prometheus:
|
|
prometheusSpec:
|
|
storageSpec:
|
|
volumeClaimTemplate:
|
|
spec:
|
|
storageClassName: nfs-delete
|
|
resources:
|
|
requests:
|
|
storage: 20Gi
|
|
retention: 15d
|
|
|
|
alertmanager:
|
|
alertmanagerSpec:
|
|
storage:
|
|
volumeClaimTemplate:
|
|
spec:
|
|
storageClassName: nfs-delete
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|