datreeio / datree

Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
https://datree.io
Apache License 2.0
6.4k stars 359 forks source link

Support skipping on a single container #940

Open adifayer opened 1 year ago

adifayer commented 1 year ago

Is your feature request related to a problem? Please describe. Users would like to be able to exclude a single container from all of Datree policy checks.

Describe the solution you'd like Datree's rule skipping mechanism should allow skipping a single container within a resource that defines containers, such as Deployment. This functionality should be added to the existing ConfigMap.

Additional context Refer to this discussion to have a better understanding of the use case- https://github.com/datreeio/datree/discussions/939#discussioncomment-5940451