Comments (3)
@sheeeng have you upgraded from older version of trivy-operator?
Yes.
kubectl delete helmreleases.helm.toolkit.fluxcd.io --namespace trivy-system trivy-operator
kubectl delete customresourcedefinitions.apiextensions.k8s.io vulnerabilityreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io exposedsecretreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io configauditreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io clusterconfigauditreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io rbacassessmentreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io infraassessmentreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io clusterrbacassessmentreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io clustercompliancereports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io clusterinfraassessmentreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io sbomreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io clustersbomreports.aquasecurity.github.io
kubectl delete customresourcedefinitions.apiextensions.k8s.io clustervulnerabilityreports.aquasecurity.github.io
I used the above commands and the issue is no longer reproducible. Thank you, @chen-keinan. 🙇
from trivy-operator.
@sheeeng have you upgraded from older version of trivy-operator?
please fully uninstall the trivy-operator
installation : helm uninstall trivy-operator -n trivy-system
and delete all CRDs and re-install again with latest.
no worried about reports data, it will be generated again.
kubectl delete crd vulnerabilityreports.aquasecurity.github.io
kubectl delete crd exposedsecretreports.aquasecurity.github.io
kubectl delete crd configauditreports.aquasecurity.github.io
kubectl delete crd clusterconfigauditreports.aquasecurity.github.io
kubectl delete crd rbacassessmentreports.aquasecurity.github.io
kubectl delete crd infraassessmentreports.aquasecurity.github.io
kubectl delete crd clusterrbacassessmentreports.aquasecurity.github.io
kubectl delete crd clustercompliancereports.aquasecurity.github.io
kubectl delete crd clusterinfraassessmentreports.aquasecurity.github.io
kubectl delete crd sbomreports.aquasecurity.github.io
kubectl delete crd clustersbomreports.aquasecurity.github.io
kubectl delete crd clustervulnerabilityreports.aquasecurity.github.io
from trivy-operator.
We had the same issue after upgrade from chart version 0.20.6 -> 0.21.4 , Operator 0.18.5 -> 0.19.4
according to the changelogs
kubectl delete crd sbomreports.aquasecurity.github.io
kubectl delete crd clustersbomreports.aquasecurity.github.io
should be enough
from trivy-operator.
Related Issues (20)
- Make the trivy-operator-policies-config config map optional in the helm chart HOT 1
- Custom Policies Bundle insecure HOT 12
- Stacktrace when scanning k8s containers and no info about the problem HOT 8
- scanJobAnnotations apply to the Pod only and not the Job HOT 1
- When a resource is deleted, a delete report of some other resource is sent instead of the deleted resource. HOT 6
- Need to deploy Trivy operator in OCI ( OKE ) ,
- How to Ignore Specific exposed secret in Trivy-Operator? HOT 4
- Vulnerability scan job unable to pull from private dockerhub container registry if secret uses `--docker-server=docker.io` HOT 27
- Missing target Field in Metrics Endpoint Despite Enabling it in additionalVulnerabilityReportFields
- failed to load rego policies from [externalPolicies] HOT 4
- OperatorHub.io installation documentation is invalid HOT 3
- Review configuration documentation HOT 2
- Installation with Helm and OLM have different version in node.collector.imageRef: ghcr.io/aquasecurity/node-collector HOT 1
- unable to run trivy operator: starting controllers manager: failed to wait for cronjob caches to sync: timed out waiting for cache to be synced HOT 4
- trivy operator throwing constantly reconcile errors HOT 23
- Metrics Report Only One Finding for Multiple Binaries with Same Vulnerability ID
- Could not wait for Cache to sync {"controller": "cronjob", "controllerGroup": "batch", "controllerKind": "CronJob", "error": "failed to wait for cronjob caches to sync: timed out waiting for cache to be synced"} HOT 1
- Redundancy of privateRegistryScanSecretsNames HOT 2
- Regular auto-updates of Trivy databases HOT 4
- Configure trivy-operator to use single ImagePullSecret from operator namespace without enabling global secret access
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trivy-operator.