Skip to content
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

Use a default helm kube version of 1.30 #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oliver-equinix
Copy link
Contributor

Trivy uses helm to render helm charts for analysis. Helm client defaults to a kube version of 1.20. Trivy allows this to be overridden and the trivy-buildkite-plugin allows this argument to be specified #118.

This PR sets the kube version argument to a more recent version of 1.30 if it's not specified in the plugin config. This could be a more sensible default for the plugin. It prevents Trivy from failing if you don't configure the kube-version plugin option scan a helm chart that has a kube version of >1.20 as a requirement.

If a different version of kube is needed, this can still be passed in as an argument as per #118.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants