datree

Datree can be used on the command line to run policies against Kubernetes manifests YAML files or Helm charts

Subcommands

NameDescription
completionGenerate completion script for bash,zsh,fish,powershell
configInternal configuration management for datree config file
helpHelp about any command
kustomizeGenerate kustomization files from manifests
publishPublish 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
testTrigger a policy check, provide a Kubernetes configuration file path or a glob pattern
versionPrint the version number

Options

NameDescription
--help, -hShow help for datree