File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ kind: Component
33resources :
44 - leader_election_role.yaml
55 - leader_election_role_binding.yaml
6+ - metrics_auth_role.yaml
7+ - metrics_auth_role_binding.yaml
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : ClusterRole
3+ metadata :
4+ name : metrics-auth-role
5+ rules :
6+ - apiGroups :
7+ - authentication.k8s.io
8+ resources :
9+ - tokenreviews
10+ verbs :
11+ - create
12+ - apiGroups :
13+ - authorization.k8s.io
14+ resources :
15+ - subjectaccessreviews
16+ verbs :
17+ - create
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : ClusterRoleBinding
3+ metadata :
4+ name : metrics-auth-rolebinding
5+ roleRef :
6+ apiGroup : rbac.authorization.k8s.io
7+ kind : ClusterRole
8+ name : metrics-auth-role
9+ subjects :
10+ - kind : ServiceAccount
11+ name : controller-manager
12+ namespace : system
You can’t perform that action at this time.
0 commit comments