From bd7a2af9e92d3293ff98c3e9ef7429d9a075976f Mon Sep 17 00:00:00 2001 From: Zadkiel Aharonian Date: Fri, 1 Dec 2023 13:22:34 +0100 Subject: [PATCH] docs: update Grafana Dashboard page (#1019) * docs: update Grafana Dashboard page Signed-off-by: Zadkiel Aharonian * Update content/en/docs/Monitoring/bonus-grafana-dashboard.md Signed-off-by: Chip Zoller --------- Signed-off-by: Zadkiel Aharonian Signed-off-by: Chip Zoller Co-authored-by: Chip Zoller --- content/en/docs/Monitoring/bonus-grafana-dashboard.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/content/en/docs/Monitoring/bonus-grafana-dashboard.md b/content/en/docs/Monitoring/bonus-grafana-dashboard.md index eb08ac45b..58030bed1 100644 --- a/content/en/docs/Monitoring/bonus-grafana-dashboard.md +++ b/content/en/docs/Monitoring/bonus-grafana-dashboard.md @@ -8,10 +8,19 @@ weight: 60 ### Setup +#### With Helm Chart + +* If your Grafana is configured with the discovery sidecar, set `grafana.enabled` value to `true`. +* If you're using Grafana Operator, set `grafana.enabled` to `true` and `grafana.grafanaDashboard.enabled` value to `true`. + +See more configuration options [here](https://github.com/kyverno/kyverno/tree/main/charts/kyverno#grafana). + +#### Without Helm Chart + * Download the dashboard's JSON and save it in `kyverno-dashboard.json` ```sh -curl https://raw.githubusercontent.com/kyverno/kyverno/main/charts/kyverno/charts/grafana/dashboard/dashboard.json -o kyverno-dashboard.json +curl -fsS https://raw.githubusercontent.com/kyverno/kyverno/main/charts/kyverno/charts/grafana/dashboard/kyverno-dashboard.json -o kyverno-dashboard.json ``` * Open your Grafana portal and go to the option of importing a dashboard.