mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-25 19:05:44 +01:00
16 lines
291 B
YAML
16 lines
291 B
YAML
apiVersion: rbac.authorization.k8s.io/v1beta1
|
|
kind: Role
|
|
metadata:
|
|
name: kube-state-metrics-resizer
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources:
|
|
- pods
|
|
verbs: ["get"]
|
|
- apiGroups: ["extensions"]
|
|
resources:
|
|
- deployments
|
|
resourceNames: ["kube-state-metrics"]
|
|
verbs: ["get", "update"]
|
|
|