github.com/datreeio/datree@v1.9.22-rc/.pre-commit-hooks.yaml (about)

     1  - id: datree-docker
     2    name: datree test, run within docker
     3    description: Prevent Kubernetes misconfigurations from reaching production
     4    types: [ file, yaml ]
     5    language: docker_image
     6    pass_filenames: true
     7    args: [ 'test', '--only-k8s-files' ]
     8    entry: --user root datree/datree:latest
     9  
    10  - id: datree-system
    11    name: datree test, run using datree installed
    12    description: Prevent Kubernetes misconfigurations from reaching production
    13    types: [ file, yaml ]
    14    language: system
    15    pass_filenames: true
    16    args: [ 'test', '--only-k8s-files' ]
    17    entry: datree