bug(helm): rendering errors on valid charts #7161
Labels
bug
Something isn't working
community
Community contribution
docker
Docker query
kubernetes
Kubernetes query
I posted this first in discussions but received no response.
I have a helm chart based off of https://github.com/runatlantis/helm-charts and when I try to scan with Kics (both 1.7.x in GitLab CI's IaC scan docker image and 2.1.0 in the official checkmarx/kics docker image) I get a bunch of parsing errors. To give you something reproducible, One of the files that is failing to be parsed looks like this
It's a valid, deployable chart template using the published best practice.
Expected Behavior
the chart is rendered and scanned without error.
Actual Behavior
4:01PM ERR failed to parse file content: /work/templates/configmap-config.yaml error="failed to parse yaml: invalid yaml"
Steps to Reproduce the Problem
(Command line arguments and flags used)
docker run --rm -it -u $(id -u):$(id -u) -v $(pwd):/work -w /work checkmarx/kics scan --ci -t Kubernetes -p /work/
Specifications
(N/A if not applicable)
The text was updated successfully, but these errors were encountered: