You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps did you take and what happened:
trivy-operator periodical gets CrashLoopBackOff on configauditreport or rbacauditreport caches sync after 30s. I sets controllerCacheSyncTimeout: "10m", but it does't help, it stills 30s in the log.
unable to run trivy operator: starting controllers manager: [failed to wait for configauditreport caches to sync: timed out waiting for cache to be synced for Kind *v1alpha1.ConfigAuditReport, failed waiting for all runnables to end within grace period of 30s: context deadline exceeded]
What did you expect to happen:
Anything else you would like to add:
trivy-operator-config:
facing similar issue because of the sbomreports. Reason is that we have over time generated quite an ammout of sbomreports since there is no cleanup mechanism afaik.
For example for this deployment we have 6 sbomreports insteadm of having only the latest.
k get sbomreports -l trivy-operator.container.name=bucketweb
NAME REPOSITORY TAG SCANNER AGE
replicaset-thanos-bucketweb-569b6bb7d4-bucketweb bitnami/thanos 0.37.0-debian-12-r0 Trivy 32d
replicaset-thanos-bucketweb-659c89d696-bucketweb bitnami/thanos 0.36.1-debian-12-r3 Trivy 105d
replicaset-thanos-bucketweb-6df4649458-bucketweb bitnami/thanos 0.36.1-debian-12-r0 Trivy 119d
replicaset-thanos-bucketweb-76c5768469-bucketweb bitnami/thanos 0.36.1-debian-12-r3 Trivy 101d
replicaset-thanos-bucketweb-7c95955dbb-bucketweb bitnami/thanos 0.36.1-debian-12-r3 Trivy 90d
replicaset-thanos-bucketweb-d96686945-bucketweb bitnami/thanos 0.36.1-debian-12-r2 Trivy 119d
when new trivy-operator pods try to start are crashing due to throttling while they try to read all the sbomreports.
What steps did you take and what happened:
trivy-operator periodical gets CrashLoopBackOff on configauditreport or rbacauditreport caches sync after 30s. I sets
controllerCacheSyncTimeout: "10m"
, but it does't help, it stills 30s in the log.What did you expect to happen:
Anything else you would like to add:
trivy-operator-config:
[Miscellaneous information that will assist in solving the issue.]
Environment:
trivy-operator version
): 0.22.0kubectl version
): v1.29.8-eks-a737599The text was updated successfully, but these errors were encountered: