From 0ecb995890e2f6cf28d25177a74d7055cf1a7ab1 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 14 Dec 2019 17:20:49 -0800 Subject: [PATCH] Update kube-state-metrics from v1.8.0 to v1.9.0-rc.1 * https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.9.0-rc.1 * https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.9.0-rc.0 --- .../kube-state-metrics/cluster-role.yaml | 16 ++++++++++++++++ .../exporters/kube-state-metrics/deployment.yaml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml index c19e6f45..9346b9a9 100644 --- a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml @@ -74,6 +74,7 @@ rules: - storage.k8s.io resources: - storageclasses + - volumeattachments verbs: - list - watch @@ -84,4 +85,19 @@ rules: verbs: - list - watch +- apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + - validatingwebhookconfigurations + verbs: + - list + - watch +- apiGroups: + - networking.k8s.io + resources: + - networkpolicies + verbs: + - list + - watch diff --git a/addons/prometheus/exporters/kube-state-metrics/deployment.yaml b/addons/prometheus/exporters/kube-state-metrics/deployment.yaml index b4f0a47f..4dca3236 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.8.0 + image: quay.io/coreos/kube-state-metrics:v1.9.0-rc.1 ports: - name: metrics containerPort: 8080