Skip to content
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

[Kubernetes] Skip check for each container not for the whole Deployment #6729

Open
adrianbumbas opened this issue Sep 23, 2024 · 1 comment
Labels
k8s Kubernetes skips

Comments

@adrianbumbas
Copy link

Describe the issue
Since each container in the Deployment spec has his own securityContext section I would like to have the possibility to skip checks for each container and initContainer.

@bo156
Copy link
Contributor

bo156 commented Nov 10, 2024

Hi @adrianbumbas, please share an example for a possible suggestion.
Note there is currently a method to skip k8s checks using the "metadata.annotations" with checkov.io/skip.
You can see the implementation here

@bo156 bo156 added the k8s Kubernetes label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k8s Kubernetes skips
Projects
None yet
Development

No branches or pull requests

2 participants