From 6cd3e65267fd129dc05bc7aa6b0cc69366591282 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Thu, 18 Jul 2019 23:50:49 -0700 Subject: [PATCH] Update kube-state-metrics from v1.7.0-rc.1 to v1.7.0 * https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.0 * Add storageclasses and verticalpodautoscalers to ClusterRole --- CHANGES.md | 2 +- .../kube-state-metrics/cluster-role.yaml | 15 +++++++++++++++ .../exporters/kube-state-metrics/deployment.yaml | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a2276bfc..1123efce 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,7 +19,7 @@ Notable changes between versions. #### Addons * Update Prometheus from v2.10.0 to v2.11.0 - * Update kube-state-metrics from v1.6.0 to v1.7.0-rc.1 + * Update kube-state-metrics from v1.6.0 to v1.7.0 * Update Grafana from v6.2.4 to v6.2.5 * Update nginx-ingress from v0.24.1 to v0.25.0 * Support `networking.k8s.io/v1beta1` apiVersion diff --git a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml index 6cd144b7..c19e6f45 100644 --- a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml @@ -70,3 +70,18 @@ rules: verbs: - list - watch +- apiGroups: + - storage.k8s.io + resources: + - storageclasses + verbs: + - list + - watch +- apiGroups: + - autoscaling.k8s.io + resources: + - verticalpodautoscalers + verbs: + - list + - watch + diff --git a/addons/prometheus/exporters/kube-state-metrics/deployment.yaml b/addons/prometheus/exporters/kube-state-metrics/deployment.yaml index dc17195f..829fd2ff 100644 --- a/addons/prometheus/exporters/kube-state-metrics/deployment.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/deployment.yaml @@ -24,7 +24,7 @@ spec: serviceAccountName: kube-state-metrics containers: - name: kube-state-metrics - image: quay.io/coreos/kube-state-metrics:v1.7.0-rc.1 + image: quay.io/coreos/kube-state-metrics:v1.7.0 ports: - name: metrics containerPort: 8080