From 996651c60514a4f67fedf889721d53f08ff2935e Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Mon, 15 Jan 2018 08:33:44 -0800 Subject: [PATCH] Update kube-state-metrics version and RBAC cluster role * https://github.com/kubernetes/kube-state-metrics/pull/345 * https://github.com/kubernetes/kube-state-metrics/pull/334 --- CHANGES.md | 5 +++++ .../exporters/kube-state-metrics/cluster-role.yaml | 7 +++++++ .../exporters/kube-state-metrics/deployment.yaml | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 79feca6e..1ed4300d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,6 +12,11 @@ Notable changes between versions. * Update kube-dns from v1.14.7 to v1.14.8 * Use separate service account for kube-dns +#### Addons + +* Update kube-state-metrics from v1.1.0 to v1.2.0 +* Fix RBAC cluster role for kube-state-metrics + #### Bare-Metal * Use per-node Container Linux install profiles ([#97](https://github.com/poseidon/typhoon/pull/97)) diff --git a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml index 0ef877fd..5e93b40d 100644 --- a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml @@ -12,7 +12,9 @@ rules: - replicationcontrollers - limitranges - persistentvolumeclaims + - persistentvolumes - namespaces + - endpoints verbs: ["list", "watch"] - apiGroups: ["extensions"] resources: @@ -29,3 +31,8 @@ rules: - cronjobs - jobs verbs: ["list", "watch"] +- apiGroups: ["autoscaling"] + resources: + - horizontalpodautoscalers + verbs: ["list", "watch"] + diff --git a/addons/prometheus/exporters/kube-state-metrics/deployment.yaml b/addons/prometheus/exporters/kube-state-metrics/deployment.yaml index d6557223..19a14952 100644 --- a/addons/prometheus/exporters/kube-state-metrics/deployment.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/deployment.yaml @@ -22,7 +22,7 @@ spec: serviceAccountName: kube-state-metrics containers: - name: kube-state-metrics - image: quay.io/coreos/kube-state-metrics:v1.1.0 + image: quay.io/coreos/kube-state-metrics:v1.2.0 ports: - name: metrics containerPort: 8080