All apps/Datree

Datree

datree

Prevent Kubernetes misconfigurations from reaching production.

Runs as datree|macOS, Linux, Windows|hub.datree.io

Command form

ai-draft · 2 tasks · 9 fields

Run datree test against Kubernetes manifests or Helm output. Other subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui datree

datree test

Check manifests

Runs policy checks on one or more manifest paths or globs.

Check manifestsExample values, fixed in this page — nothing here reaches a terminal
Basic
Manifest files or globs*
any
Policy name
string
Output format
string
TasksEach one presets the form for one job
Check manifests
filespolicyoutput
Check without reporting
filesno_recordignore_missing_schemas
ParametersOnly these flags are editable in the form
Manifest files or globs
path · positional 0 · repeatable
Policy name
string
--policy-p
Output format
string
--output-osimpleyamljsonxmljunit
Kubernetes version
string
--schema-version-s
Ignore missing schemas
boolean
--ignore-missing-schemas
Only Kubernetes YAML
boolean
--only-k8s-files
Do not send metadata to backend
boolean
--no-record
Show how-to-fix links
boolean
--verbose
Local policy file
path
--policy-config
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed datree against its version. A form that does not match your version is not offered.