Skip to main content
logoTetrate Service BridgeVersion: 1.12.x

tctl validate

tctl validate

Validates a set of TSB yaml configurations, separated by '---', from a file or from stdin

tctl validate [flags]

Examples


tctl validate -f config.yaml

Verifies the provided configurations are syntactically correct and correspond to TSB resources.
It also identifies any errors in namespace hierarchies.
The operation is performed offline, so does not reference existing TSB configuration.

Options

  -f, --file string   File or directory containing configuration to validate [required]
-h, --help help for validate

Options inherited from parent commands

  -c, --config string               Path to the config file to use. Can also be
specified via TCTL_CONFIG env variable. This flag
takes precedence over the env variable.
--debug Print debug messages for all requests and responses
--disable-tctl-version-warn If set, disable the outdated tctl version warning. Can also be
specified via TCTL_DISABLE_VERSION_WARN env variable.
-p, --profile string Use specific profile (default "default")