-
Notifications
You must be signed in to change notification settings - Fork 185
Not finding errors in deployment #523
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
thank you for the bug report @mtcolman. Will try to reproduce on my end. Are you looking into implementing a fix or should we go ahead and fix it? |
@dani-santos-code thanks for getting back to me - I've now remembered that the issue was due to the labels:
Needed to be changed to have quotes:
And then it worked:
So I think your code needs to handle if key/value pairs are incorrectly configured - i.e. it should realise it can/can't scan and then exit gracefully, rather than telling me there are no issues (when there clearly are some, as it found them when I've corrected a key/value error). |
And I'd be very grateful if you could please provide the fix (as I don't know how). |
ISSUE TYPE
BUG REPORT
SUMMARY
I'm testing a deployment.yaml with low/no securityContexts within, and kubeaudit is not reporting any findings.
ENVIRONMENT
tar
andmv
to/usr/local/bin
STEPS TO REPRODUCE
Use this yaml:
EXPECTED RESULTS
I expected a lot of results of missing securityContexts and security related settings
ACTUAL RESULTS
ADDIITONAL INFO
A similar test with a pod manifest worked as follows:
The text was updated successfully, but these errors were encountered: