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
This commit is contained in:
Dalton Hubble 2018-01-15 08:33:44 -08:00
parent 38fa7dff1a
commit 996651c605
3 changed files with 13 additions and 1 deletions

View File

@ -12,6 +12,11 @@ Notable changes between versions.
* Update kube-dns from v1.14.7 to v1.14.8 * Update kube-dns from v1.14.7 to v1.14.8
* Use separate service account for kube-dns * 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 #### Bare-Metal
* Use per-node Container Linux install profiles ([#97](https://github.com/poseidon/typhoon/pull/97)) * Use per-node Container Linux install profiles ([#97](https://github.com/poseidon/typhoon/pull/97))

View File

@ -12,7 +12,9 @@ rules:
- replicationcontrollers - replicationcontrollers
- limitranges - limitranges
- persistentvolumeclaims - persistentvolumeclaims
- persistentvolumes
- namespaces - namespaces
- endpoints
verbs: ["list", "watch"] verbs: ["list", "watch"]
- apiGroups: ["extensions"] - apiGroups: ["extensions"]
resources: resources:
@ -29,3 +31,8 @@ rules:
- cronjobs - cronjobs
- jobs - jobs
verbs: ["list", "watch"] verbs: ["list", "watch"]
- apiGroups: ["autoscaling"]
resources:
- horizontalpodautoscalers
verbs: ["list", "watch"]

View File

@ -22,7 +22,7 @@ spec:
serviceAccountName: kube-state-metrics serviceAccountName: kube-state-metrics
containers: containers:
- name: kube-state-metrics - 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: ports:
- name: metrics - name: metrics
containerPort: 8080 containerPort: 8080