-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(misconf): add helm-api-version and helm-kube-version flag #6332
Conversation
Need to update the documentation of the configuration file. |
@jkroepke Thanks for the PR! Left a couple of comments. |
pkg/dependency/parser/golang/mod/testdata/replaced-with-local-path-and-version-mismatch/go.sum
Outdated
Show resolved
Hide resolved
@jkroepke Can you update the config file in the documentation? |
@nikpivkin Done. I have fixed the docs a bit, because of the duplicate key helm was mis-leading. Otherwise they can be mis-interpreted and result into a yaml error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the PR, I've left some comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but we will merge in v0.51.0
@chen-keinan could you also take a look? |
@jkroepke sorry but seems like a couple of merge conflicts to take care of as other PRs got merged first. Could you rebase your PR? |
# Conflicts: # pkg/iac/scanners/helm/test/option_test.go # pkg/iac/scanners/helm/test/parser_test.go
@simar7 Done |
…ecurity#6332) Co-authored-by: Simar <simar@linux.com>
Description
It resolved the following error, if trivy config is used against a helm chart with minKubeVersion
Before:
After:
--helm-api-versions
maps tohelm template --api-versions
--helm-kube-version
maps tohelm template --kube-version
Related Issues:
kubeVersion
#6337Checklist