generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 479
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
{"level":"error","ts":"2025-11-15T15:52:40.054785869Z","logger":"controller-runtime.cache.UnhandledError","caller":"runtime/runtime.go:221","msg":"Failed to watch","reflector":"sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:114","type":"*v1.Secret","error":"failed to list *v1.Secret: secrets is forbidden: User \"system:serviceaccount:openshift-kueue-operator:kueue-controller-manager\" cannot list resource \"secrets\" in API group \"\" at the cluster scope
I am updating our openshift operator to point to main to test against latest main.
I was trying to see if I can run the e2e against an openshift kueue installation.
What you expected to happen:
I shouldnt see errors like this in our operator logs.
How to reproduce it (as minimally and precisely as possible):
Openshift tend to be more restrictive about RBAC so you may be able to reproduce this if you deploy main to a OCP cluster.
Anything else we need to know?:
The failure happens on k8s 1.31, 1.32 and 1.33.
Environment:
- Kubernetes version (use
kubectl version): - Kueue version (use
git describe --tags --dirty --always): - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): - Kernel (e.g.
uname -a): - Install tools:
- Others:
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.