Included the environment variable OPERATOR_SBOM_GENERATION_ENABLED in the trivy-deployment.yaml for Helm.
This variable is used by the Trivy Operator to enable or disable the generation of SBOM (Software Bill of Materials). Setting the value to "false" resolves the errors and prevents crashes in the trivy-operator pod.
Included the environment variable OPERATOR_SBOM_GENERATION_ENABLED in the trivy-deployment.yaml for Helm.
This variable is used by the Trivy Operator to enable or disable the generation of SBOM (Software Bill of Materials). Setting the value to "false" resolves the errors and prevents crashes in the trivy-operator pod.