DrFaust92 / terraform-kubernetes-ebs-csi-driver

Terraform module which creates Kubernetes EBS CSI controller resources on AWS EKS.
https://registry.terraform.io/modules/DrFaust92/ebs-csi-driver/kubernetes/latest
Other
31 stars 26 forks source link

CSI resizer RBAC having incorrect permissions #43

Closed sergeyberezansky closed 3 years ago

sergeyberezansky commented 3 years ago
E0516 11:18:35.144096 1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Pod: failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:kube-system:ebs-csi-controller" cannot list resource "pods" in API group "" at the cluster scope

Probably by mistake, an invalid entity is assigned a permission. Fix in #42

DrFaust92 commented 3 years ago

Closed by #42. Thanks @sergeyberezansky