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.39k stars 363 forks source link

Kustomize doesn't work with docker image #771

Closed korjavin closed 2 years ago

korjavin commented 2 years ago

run -it --rm -v$PWD:/app datree/datree kustomize test /app/overlays/prod/kustomization.yml /app kubectl or kustomize is not installed

adifayer commented 2 years ago

@korjavin The datree/datree image is a lightweight version of Datree that doesn't include the kustomize binary. As a fast solution, I suggest that you use datree/datreeci image that also contains kustomize :)

adifayer commented 2 years ago

@korjavin Hey, were you able to solve this one with our datreeci image? Can I close this issue?

korjavin commented 2 years ago

Yes, thanks