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
k8s object names are not displayed during datree kustomize test schema validation #875
Comments
Thanks. we havily use kustomize with many crds etc. object name/kind will help us lot in identifying the incorrect object. we are not saving rendered output in our CI pipeline. at present we are doing a manual check in the repo. |
Hello @Mahesh-Gunda-Maersk, I totally agree with your feedback. We're using Kubeconform for validating the K8s schema, and this ability already exists in this package. |
Describe the bug
is there a way we can get the K8s Object names which are reported during k8s schema validation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
k8s object name should be printed in the error message. As we use buch of CRD files and yamls it was quite difficult to find which object has that null value for creationtimestamp
Screenshots
Desktop (please complete the following information):
Datree version (run
datree version
):-1.8.21
Additional context
Add any other context about the problem here.
If possible, include a YAML file to reproduce the bug.
The text was updated successfully, but these errors were encountered: