-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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(kubernetes): add option to specify kubeconfig file path #2576
Conversation
@mgsh This looks good. Though let's wait until we merge the PR on trivy-kubernetes to update the dependencies and review this one. k? |
a392f7c
to
54d3798
Compare
go.mod
Outdated
@@ -321,3 +321,6 @@ replace github.com/docker/docker => github.com/docker/docker v20.10.3-0.20220224 | |||
// v1.2.0 is taken from github.com/open-policy-agent/opa v0.42.0 | |||
// v1.2.0 incompatible with github.com/docker/docker v20.10.3-0.20220224222438-c78f6963a1c0+incompatible | |||
replace oras.land/oras-go => oras.land/oras-go v1.1.1 | |||
|
|||
// TODO: once the change is merged to aquasecurity/trivy-kubernetes, this can be removed and go.sum updated | |||
replace github.com/aquasecurity/trivy-kubernetes => github.com/mgsh/trivy-kubernetes v0.3.1-0.20220727104021-cd78e50c591a |
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.
The PR was merged on trivy-kubernetes, can we fix the replace here?
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.
I've updated it.
54d3798
to
c6f350f
Compare
hi @josedonizetti, I've removed the mod replace change. Please review and merge when you get a chance. |
@josedonizetti Can we merge it? |
@knqyf263 can you review and merge? Thank you! |
Description
Related issues
Related PRs
Checklist