datree
Datree can be used on the command line to run policies against Kubernetes manifests YAML files or Helm charts
Subcommands
Name | Description |
---|---|
completion | Generate completion script for bash,zsh,fish,powershell |
config | Internal configuration management for datree config file |
help | Help about any command |
kustomize | Generate kustomization files from manifests |
publish | Publish policies configuration for given <fileName>. Input should be the path to the Policy-as-Code yaml configuration file. ## Note You need to first enable Policy-as-Code (PaC) on the settings page in the dashboard |
test | Trigger a policy check, provide a Kubernetes configuration file path or a glob pattern |
version | Print the version number |
Options
Name | Description |
---|---|
--help, -h | Show help for datree |