-
-
Notifications
You must be signed in to change notification settings - Fork 620
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Describe the bug
It seems if you set ignore* to true it will remove the RBAC permissions but reloader still tries to search for them, causing errors.
To Reproduce
Set reloader.ignoreJobs and/or reloader.ignoreCronJobs to true.
Expected behavior
reloader does not try to access Jobs and Cronjobs
Screenshots
time="2025-08-14T09:40:14Z" level=info msg="Environment: Kubernetes"
time="2025-08-14T09:40:14Z" level=info msg="Starting Reloader"
time="2025-08-14T09:40:14Z" level=warning msg="KUBERNETES_NAMESPACE is unset, will detect changes in all namespaces."
time="2025-08-14T09:40:14Z" level=info msg="created controller for: configMaps"
time="2025-08-14T09:40:14Z" level=info msg="created controller for: secrets"
I0814 09:40:14.883044 1 leaderelection.go:257] attempting to acquire leader lease reloader/stakater-reloader-lock...
time="2025-08-14T09:40:14Z" level=info msg="new leader is reloader-reloader-666bbbb84b-v2vg6"
time="2025-08-14T09:40:14Z" level=info msg="Meta info configmap already exists, updating it"
I0814 09:43:57.749202 1 leaderelection.go:271] successfully acquired lease reloader/stakater-reloader-lock
time="2025-08-14T09:43:57Z" level=info msg="still the leader!"
time="2025-08-14T09:43:57Z" level=info msg="became leader, starting controllers"
time="2025-08-14T09:44:07Z" level=error msg="Failed to list cronjobs cronjobs.batch is forbidden: User \"system:serviceaccount:reloader:reloader-reloader\" cannot list resource \"cronjobs\" in API group \"batch\" in the namespace \"kube-system\""
time="2025-08-14T09:44:07Z" level=error msg="Failed to list jobs jobs.batch is forbidden: User \"system:serviceaccount:reloader:reloader-reloader\" cannot list resource \"jobs\" in API group \"batch\" in the namespace \"kube-system\""Environment
- Operator Version: 1.4.6
- Kubernetes Version: 1.32.6
r4j4h
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working