datree
datree copied to clipboard
don't auto-delete rendered manifest (kustomize/helm)
Is your feature request related to a problem? Please describe. Today, when running datree with kustomize or helm, datree is rendering a manifest in the temp file, passes it for scanning, and deletes the rendered files
Describe the solution you'd like for easy debugging, it will be useful if the file will not be deleted
Describe alternatives you've considered rendering the manifest by myself
Additional context the default behavior is still to delete the file.
- If the user passes the flag
--save-rendered
, the file will not be deleted from the temp dir - If the user passes the flag
--save-rendered [path]
, the file will be created in %path%
@eyarz should be one word --save-rendered
my bad :) fixed.
Can we close this issue? or is there any action item required for this? 🤔
@amustaque97 we are waiting for someone to grab this issue. This wasn't resolved yet.
my bad :) fixed.
sorry I got confused because of the above comment from you @eyarz
The framework we use does not allow flags with triple meanings (true, false and %path%)
therefor the flag will only have a boolean value,
as in just --save-rendered
and it will save the rendered file to the temp directory
Implemented.