lwolf / kube-cleanup-operator

Kubernetes Operator to automatically delete completed Jobs and their Pods
MIT License
498 stars 109 forks source link

helmchart not work #81

Closed refaelb closed 2 years ago

refaelb commented 2 years ago

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"

lwolf commented 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: @.***>

refaelb commented 2 years ago

yes . its work for all namespaces but for 1 namespace its not work & this its problem ..