feat(helm): add support for kubeVersion
#6337
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
https://helm.sh/docs/helm/helm_template/
Discussed in #5919
Originally posted by a-devops-guy January 11, 2024
Description
Trivy is detecting 0 files when performing scan if tpllib is used to generate set of resources like deployment, services etc
yaml renders works just fine as well as helm install
happy to provide more example or our full helm library on request.
Desired Behavior
trivy should scan helm chart even when chart is highly templated. scanning the templated yaml file using helm template works fine
Actual Behavior
trivy should scan detects 0 files when helm chart is highly templated.
Reproduction Steps
helm create test
trivy config . --debug
Target
None
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
Mac sonoma, Redhat ubi9 container image
Version
Checklist
trivy image --reset
The text was updated successfully, but these errors were encountered: