Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add replicasets.apps to ClusterRole to avoid permission issue (elasti…
…c#15741) (elastic#21891) * add replicasets.apps to avoid permission error Error message: E0120 09:24:12.769663 1 reflector.go:125] github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:235: Failed to list *v1beta1.ReplicaSet: replicasets.apps is forbidden: User "system:serviceaccount:kube-system:metricbeat" cannot list resource "replicasets" in API group "apps" at the cluster scope Fixed after add the permission * recreate metricbeat-kubernetes.yaml file * [bug] add replicasets.apps to ClusterRole to avoid permission issue (cherry picked from commit 86e21f5) Co-authored-by: Izek Chen <[email protected]>
- Loading branch information