kubearmor-client
kubearmor-client copied to clipboard
`sysdump` crashes if no KubeArmor running
Running sysdump utility with no KubeArmor running in k8s causes a runtime error.

Possible Solution We probably need to validate if there are any items in context of KubeArmor before we use it https://github.com/kubearmor/kubearmor-client/blob/f90ced4f3605d9b2f03a13feea94911eaffcf995/sysdump/sysdump.go#L226
List of tasks
- [ ] sysdump should work even if kubearmor is not installed
- [ ] sysdump should work in vagrant dev env
- [ ] sysdump should work even if kubearmor is not working (i.e., installed but going into CrashLoopBackOff for some reasons)
- [ ] sysdump should work in systemd mode as well
Hi, If it is the first time that you contribute to KubeArmor, follow these steps:
Write a comment in this issue thread to let other possible contributors know that you are working on this bug. For eg : Hey all, I would like to work on this issue., checkout Contributing Guide :fire::sparkles: and feel free to ask anything related to this issue in this thread or on our slack channel ✌🏽
I'll take this up and try solving
Thanks a lot for taking this up @AvineshTripathi !