deploy: Update custom metrics API name and separate into files

This commit is contained in:
Frederic Branczyk 2017-11-13 09:45:03 +01:00
parent 8dd527d821
commit 80598a8bd3
No known key found for this signature in database
GPG key ID: 7741A52782A90069
12 changed files with 146 additions and 157 deletions

View file

@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: custom-metrics:system:auth-delegator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:auth-delegator
subjects:
- kind: ServiceAccount
name: custom-metrics-apiserver
namespace: custom-metrics