'Kubernetes Pod Security checks for InitContainer

Container must follow the Security best Practices from Kubernetes Community and developers and they need to apply alle the Recommendation from CIS Benchmark.

what about InitContainer ,should they also follow the same Practices?

and what if not , which Security Threads could come from Completed Container?

thanks



Solution 1:[1]

what about InitContainer ,should they also follow the same Practices?

  • Yes

what if not , which Security Threads could come from Completed Container?

  • they could perform damage before getting into completed state.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 confused genius