--- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRole metadata: name: fluentd rules: - apiGroups: [""] resources: ["pods"] verbs: ["get"]