Merge pull request #48357 from faraazkhan/master
Automatic merge from submit-queue (batch tested with PRs 48317, 48313, 48351, 48357, 48115)
allow heapster clusterrole to see deployments
**What this PR does / why we need it**:
Currently the default `system:heapster` ClusterRole does not allow access to the `deployment.extensions`. This limits metric collection and results in `DENY` messages in the kube-api logs like these:
```
[kube-apiserver-ip-10-0-10-12.us-west-2.compute.internal] I0630 19:22:16.088301 1 rbac.go:87] RBAC DENY: user "system:serviceaccount:kube-system:heapster" groups [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] cannot "get" resource "deployments.extensions" named "heapster-v1.4.0" in namespace "kube-system"
```
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # https://github.com/kubernetes/heapster/issues/1710
**Special notes for your reviewer**: NONE
**Release note**:
```release-note
Allow the system:heapster ClusterRole read access to deployments
```
Showing
Please
register
or
sign in
to comment