-
Notifications
You must be signed in to change notification settings - Fork 14
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 DaemonSet for node scanning #1134
Conversation
…node scanning style
…nspec treating template as config file
Test Results 5 files ±0 50 suites ±0 2h 36m 54s ⏱️ + 12m 19s Results for commit 9dc1997. ± Comparison against base commit 59392e5. This pull request removes 11 and adds 6 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Signed-off-by: Ivan Milchev <[email protected]>
} | ||
dep.Spec.Template.Spec.Tolerations = k8s.TaintsToTolerations(node.Spec.Taints) | ||
ds.Spec.Template.Annotations[ignoreQueryAnnotationPrefix+"mondoo-kubernetes-security-pod-runasnonroot"] = ignoreAnnotationValue |
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.
Independent of this PR:
Looks like this no longer works and we can remove it:
@imilchev What do you think.
Testing:
And I see a DaemonSet and Pods for the nodes. 🎉 Thanks @slntopp |
Nodes are also regularly reported to the Platform. 👍 PlatformIDs also looking good:
|
I think, I found a bug. But then, I switched to
|
Good catch! |
Fixed! Thanks 🎉 |
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 @slntopp
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! Let's ship it!
No description provided.