undistro / zora

Zora is an open source solution that helps you achieve compliance with Kubernetes best practices recommended by industry-leading frameworks. By scanning your cluster with multiple plugins, Zora identifies potential issues, misconfigurations, and vulnerabilities.
https://getup.io/opensource/zora-oss
Apache License 2.0
269 stars 21 forks source link

fix empty flags when Trivy persistence is disabled #278

Closed matheusfm closed 2 months ago

matheusfm commented 2 months ago

Description

This PR fixes how the flag of Trivy persistence is passed to Operator when it is disabled. A double quote was being passed instead of a empty string, causing the following error:

persistentvolumeclaim "\"\"" not found. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..

Linked Issues

UD-1385

How has this been tested?

Checklist