From e1fa976fbc8cb08f0cf347e30dffa9ea7ea67868 Mon Sep 17 00:00:00 2001 From: Micah Hausler Date: Sat, 14 Sep 2019 23:28:37 -0700 Subject: [PATCH] [stable/prometheus] Added /nodes/metrics permission to prometheus server (#16394) This change allows prometheus to scrape nodes directly, instead of proxying all requests through the API server. Signed-off-by: Micah Hausler --- stable/prometheus/Chart.yaml | 2 +- stable/prometheus/templates/server-clusterrole.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stable/prometheus/Chart.yaml b/stable/prometheus/Chart.yaml index c29f5cff8096..05096d076d72 100755 --- a/stable/prometheus/Chart.yaml +++ b/stable/prometheus/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: prometheus -version: 9.1.0 +version: 9.1.1 appVersion: 2.11.1 description: Prometheus is a monitoring system and time series database. home: https://prometheus.io/ diff --git a/stable/prometheus/templates/server-clusterrole.yaml b/stable/prometheus/templates/server-clusterrole.yaml index 29c418848967..787e3a3bc340 100644 --- a/stable/prometheus/templates/server-clusterrole.yaml +++ b/stable/prometheus/templates/server-clusterrole.yaml @@ -22,6 +22,7 @@ rules: resources: - nodes - nodes/proxy + - nodes/metrics - services - endpoints - pods