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

showing container name in addition of array index. #928

Open guyscher2 opened 1 year ago

guyscher2 commented 1 year ago

hello there :) I was thinking it would be nice that if a rule fails in a specific container (e.g key: spec.template.spec.containers.3.resources ) it would mention the container name. it would save the developer time loading helm template going to the resource and searching in an array of containers. thanks!