Skip to content

Commit

Permalink
Merge pull request kubernetes#119386 from dgrisonnet/metrics-server-n…
Browse files Browse the repository at this point in the history
…anny

addons/metrics-server: fix nanny rbac permissions
  • Loading branch information
k8s-ci-robot committed Jul 18, 2023
2 parents 15450a3 + 3fd40ff commit b3fc4cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cluster/addons/metrics-server/resource-reader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ rules:
- get
- list
- watch
- apiGroups: ["apps"]
resources:
- deployments
resourceNames:
- metrics-server-v0.6.3
verbs:
- get
- patch
- nonResourceURLs:
- /metrics
verbs:
- get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down

0 comments on commit b3fc4cf

Please sign in to comment.