Describe the bug
When we create a deployment, advisory tool is looking at deployment security context. Not looking at replica sets or pods created by deployment.
To Reproduce
Steps to reproduce the behavior:
- Run kube-psp-advisor agains namespaces which has deployment
- See report of kube-psps-advisory for the namespace then there is no pod security spec inside it.
- See error
Expected behavior
It is not looking anot only deployment but replicaset and pods created by deployment
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- linux Ubuntu
- chrome
- Version 20.04