youtubebeat/vendor/github.com/elastic/beats/deploy/kubernetes/filebeat/filebeat-role.yaml

15 lines
255 B
YAML

apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: filebeat
labels:
k8s-app: filebeat
rules:
- apiGroups: [""] # "" indicates the core API group
resources:
- namespaces
- pods
verbs:
- get
- watch
- list