Closed refaelb closed 2 years ago
You haven't deployed rbac policies
On Mon, 27 Dec 2021, 08:30 refaelb, @.***> wrote:
E1227 08:28:34.712122 1 reflector.go:178] pkg/controller/controller.go:154: Failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:default:cleanup-operator" cannot list resource "pods" in API group "" in the namespace "default"
— Reply to this email directly, view it on GitHub https://github.com/lwolf/kube-cleanup-operator/issues/81, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO4CYLVP2DVDLAMASAGA2DUTAPZPANCNFSM5KZ6TPBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
yes . its work for all namespaces but for 1 namespace its not work & this its problem ..
E1227 08:28:34.712122 1 reflector.go:178] pkg/controller/controller.go:154: Failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:default:cleanup-operator" cannot list resource "pods" in API group "" in the namespace "default"