diff --git a/assets/rbac/resizer_role.yaml b/assets/rbac/resizer_role.yaml index 5b8562af9..abfdb6af9 100644 --- a/assets/rbac/resizer_role.yaml +++ b/assets/rbac/resizer_role.yaml @@ -18,3 +18,6 @@ rules: - apiGroups: [""] resources: ["events"] verbs: ["list", "watch", "create", "update", "patch"] + - apiGroups: [""] + resources: ["pods"] + verbs: ["get", "list", "watch"] diff --git a/pkg/generated/bindata.go b/pkg/generated/bindata.go index 1ee0a568a..e10fc5c5e 100644 --- a/pkg/generated/bindata.go +++ b/pkg/generated/bindata.go @@ -748,6 +748,9 @@ rules: - apiGroups: [""] resources: ["events"] verbs: ["list", "watch", "create", "update", "patch"] + - apiGroups: [""] + resources: ["pods"] + verbs: ["get", "list", "watch"] `) func rbacResizer_roleYamlBytes() ([]byte, error) {