4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
19 name: metrics-apiserver
20 namespace: kube-system
22 apiVersion: rbac.authorization.k8s.io/v1
25 name: caas:metrics-server:extension-apiserver-authentication-reader
26 namespace: kube-system
28 apiGroup: rbac.authorization.k8s.io
30 name: extension-apiserver-authentication-reader
32 - kind: ServiceAccount
33 name: metrics-apiserver
34 namespace: kube-system
36 apiVersion: rbac.authorization.k8s.io/v1
39 name: caas:metrics-server
61 apiVersion: rbac.authorization.k8s.io/v1
62 kind: ClusterRoleBinding
64 name: caas:metrics-server
66 apiGroup: rbac.authorization.k8s.io
68 name: caas:metrics-server
70 - kind: ServiceAccount
71 name: metrics-apiserver
72 namespace: kube-system
74 apiVersion: rbac.authorization.k8s.io/v1beta1
75 kind: ClusterRoleBinding
77 name: caas:metrics-server:system:auth-delegator
79 apiGroup: rbac.authorization.k8s.io
81 name: system:auth-delegator
83 - kind: ServiceAccount
84 name: metrics-apiserver
85 namespace: kube-system
87 apiVersion: rbac.authorization.k8s.io/v1
88 kind: ClusterRoleBinding
90 name: caas:metrics-apiserver-psp
92 - kind: ServiceAccount
93 name: metrics-apiserver
94 namespace: kube-system
98 apiGroup: rbac.authorization.k8s.io