trivy-operator: Bug in metrics format (code 500)
What steps did you take and what happened: Deployed the latest version of Trivy Operator using Helm (with custom values)
[A clear and concise description of what the bug is, and what commands you ran.] Metrics are in a broken format, giving a 500 code instead of 200
What did you expect to happen: Having Prometheus formatted metrics created
Anything else you would like to add: I forced the Helm chart to use image v0.14.1 and it works again
[Miscellaneous information that will assist in solving the issue.]
Environment:
- Trivy-Operator version (use
trivy-operator version
): 0.15.0 - Kubernetes version (use
kubectl version
): 1.26.2 - OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): Rocky Linux 9.2
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16
@lepicodon I was able to reproduce it , fixing it now and creating a patch afterwards
yes , take a look at the following :
can you try disable
metricVulnIdEnabled
and see if still an issue