-
Notifications
You must be signed in to change notification settings - Fork 509
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
added binary based support for kustomize v2 and v3 #988
added binary based support for kustomize v2 and v3 #988
Conversation
6dca249
to
54a74d5
Compare
pkg/iac-providers/kustomize/v3/testdata/simple-deployment/deployment.yaml
Outdated
Show resolved
Hide resolved
54a74d5
to
d1abeb1
Compare
Codecov Report
@@ Coverage Diff @@
## master #988 +/- ##
==========================================
- Coverage 78.46% 78.21% -0.25%
==========================================
Files 231 237 +6
Lines 6255 6289 +34
==========================================
+ Hits 4908 4919 +11
- Misses 1045 1067 +22
- Partials 302 303 +1
|
) | ||
|
||
// KustomizeDirectoryLoader implements kustomize directory/file loading | ||
type KustomizeDirectoryLoader struct { |
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.
if this struct implements both directory and file loading should the type be KustomizeLoader
?
) | ||
|
||
var ( | ||
errLoadIacFileNotSupported = fmt.Errorf("load iac file is not supported for kustomize") |
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 think this error can be exported and used in other packages as well !!
d1abeb1
to
a0dd4ce
Compare
a0dd4ce
to
6d0f45d
Compare
6d0f45d
to
a67c088
Compare
* extract container images from tf iac files * increase kubernetes resource scan coverage * using constants for common strings * adds: extract image ref from tf file * code nits: added comments and removed unwanted variables * adds: extracting containers from aws and azure resources * code nits: added new method for jsoncode type Co-authored-by: Suvarna Rokade <suvarnarokade11@gmail.com>
* inital support for image vulnerability scanning * adds: flag for vul scanning and human readable output support * Adds: unit test cases and code refactoring * made vulnerability methods mockable * adds: documentation for vulnerability scanning * adds: support google artifact registry * updates docs * updates flag message * fixes: tf file image extraction and e2e test Co-authored-by: Cesar Rodriguez <cesar@accurics.com>
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.
Would you mind rebasing with master?
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
v2
andv3
.