From 8cc7e531cc9925184124af51e69ae0f72e65a6a3 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 24 Oct 2023 11:23:32 -0500 Subject: [PATCH] Adding Flux to grafana. --- .../monitoring/grafana/app/helmrelease.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/kubernetes/apps/monitoring/grafana/app/helmrelease.yaml b/kubernetes/apps/monitoring/grafana/app/helmrelease.yaml index 9bdf8e5..0a749c5 100644 --- a/kubernetes/apps/monitoring/grafana/app/helmrelease.yaml +++ b/kubernetes/apps/monitoring/grafana/app/helmrelease.yaml @@ -99,6 +99,14 @@ spec: editable: true options: path: /var/lib/grafana/dashboards/ceph + - name: flux + orgId: 1 + folder: Flux + type: file + disableDeletion: false + editable: true + options: + path: /var/lib/grafana/dashboards/flux datasources: datasources.yaml: apiVersion: 1 @@ -145,6 +153,16 @@ spec: gnetId: 5342 revision: 9 datasource: Prometheus + flux: + flux-cluster: + url: https://raw.githubusercontent.com/fluxcd/flux2/main/manifests/monitoring/monitoring-config/dashboards/cluster.json + datasource: Prometheus + flux-control-plane: + url: https://raw.githubusercontent.com/fluxcd/flux2/main/manifests/monitoring/monitoring-config/dashboards/control-plane.json + datasource: Prometheus + flux-logs: + url: https://raw.githubusercontent.com/fluxcd/flux2/main/manifests/monitoring/monitoring-config/dashboards/logs.json + datasource: Prometheus ingress: enabled: true annotations: