diff --git a/kube-prometheus-stack/templates/nginx-dashboard.yaml b/kube-prometheus-stack/templates/nginx-dashboard.yaml index 6fb669a..e38f2c8 100644 --- a/kube-prometheus-stack/templates/nginx-dashboard.yaml +++ b/kube-prometheus-stack/templates/nginx-dashboard.yaml @@ -1,10 +1,6 @@ apiVersion: v1 -kind: ConfigMap -metadata: - namespace: kube-prometheus-stack - name: kube-prometheus-stack-nginx-dashboard data: - nginx-dashboard.json: |- + nginx-ingress-controller_rev1.json: |- { "__inputs": [ { @@ -1459,4 +1455,10 @@ data: "version": 1, "description": "Ingress-nginx supports a rich collection of prometheus metrics. If you have prometheus and grafana installed on your cluster then prometheus will already be scraping this data due to the scrape annotation on the deployment." } - +kind: ConfigMap +metadata: + labels: + grafana_dashboard: "1" + creationTimestamp: null + name: nginx-dashboard + namespace: kube-prometheus-stack \ No newline at end of file