2 Commits
Author SHA1 Message Date
Joe Hohertz 7fac63906c This adds the aggregated-metrics-reader ClusterRole which was missing. (#10737)
See deploy manifest in the metrics-server project here:
https://github.com/kubernetes-incubator/metrics-server/blob/master/deploy/1.8%2B/aggregated-metrics-reader.yaml

Signed-off-by: Joe Hohertz <joe@viafoura.com>
2019-01-17 11:51:13 -08:00
Ole Markus With da161a80fc Adds metrics-server chart (#5538)
* Add initial commit of a metrics-server chart

* Fixes metrics-server without rbac

* Fixed some lint errors

* Add a NOTES.txt file

* makes some imrpovements on how the chart looks like compared to helm create

* follow best practices for RBAC

* adds selector in deployment

* incubator/metrics-server: create ServiceAccount based on serviceAccount.create

* incubator/metrics-server: default pullPolicy to IfNotPresent

* incubator/metrics-server: add maintainer

* incubator/metrics-server: replace maintainer full name with github username in Chart.yaml

* incubator/metrics-server: make namespace configurable where possible

* incubator/metrics-server: grant system:auth-delegator clusterrole and the extension-apiserver-authentication-reader role specifically in the kube-system namespace

* incubator/metrics-server: Replace 'metrics-server' with release fullname

* incubator/metrics-server: Make apiService creation conditional

* Revert "incubator/metrics-server: grant system:auth-delegator clusterrole and the extension-apiserver-authentication-reader role specifically in the kube-system namespace"

This reverts commit b35818cf7d.

* incubator/metrics-server: put system:auth-delegator crb in kube-system

* incubator/metrics-server: disable creation of apiService on CI runs

* incubator/metrics-server: remove an unecessary RBAC rule

* incubator/metrics-server: warn about not setting apiSerivce.create: true

* incubator/metrics-server: update README.md to reflect values.yaml

* stable/metrics-server: promote chart from incubator to stable
2018-06-24 07:25:04 -07:00