Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
change RBAC for Metrics API
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Dec 11, 2018
1 parent ff2ac3f commit a942e64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deploy/auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ rules:
resources: ["nodes", "pods"]
verbs:
- list
- apiGroups: [""]
resources: ["services/proxy"]
resourceNames: ["heapster"]
- apiGroups: ["metrics.k8s.io"]
resources: ["nodes", "pods"]
verbs:
- get
- list
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
Expand Down
2 changes: 1 addition & 1 deletion deploy/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
Expand Down

0 comments on commit a942e64

Please sign in to comment.