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