Closed fredleger closed 6 months ago
Note: I actually tried running it without mode offline or with a local folder .datree inside the git repo and got the same behavior
ex: --schema-location='.datree/crdSchemas/{{.Group}}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json'
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug When using pre-commit hooks i had bad time trying to add custom schema locations
To Reproduce Steps to reproduce the behavior:
pre-commit install
pre-commit run -a datree-system
on a repo with a manifest not known by default to datree (for my caseops.alexellis.io/clusterpullsecret/v1
)If i run the same command on pure command line (hence without pre-commit hook implied) :
Expected behavior schema locations should be easy to use with pre-commit hooks
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Datree version (run
datree version
):Client ID (
cat ~/.datree/config.yaml
):Additional context
Running in offline mode but i guess this is not an issue here