Skip to content

Commit

Permalink
Minimize RBAC permissions
Browse files Browse the repository at this point in the history
Merge changes by @serathius for #851 into helm chart's clusterrole.yaml
  • Loading branch information
CrisNevares committed Jun 9, 2022
1 parent 115e821 commit 07d1d48
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions charts/metrics-server/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@ metadata:
labels:
{{- include "metrics-server.labels" . | nindent 4 }}
rules:
- apiGroups:
- ""
- apiGroups: [""]
resources:
- nodes/metrics
verbs:
- get
- apiGroups:
- ""
- apiGroups: [""]
resources:
- pods
- nodes
- namespaces
- configmaps
verbs:
- get
- list
Expand Down

0 comments on commit 07d1d48

Please sign in to comment.