rpk connect lint

Parse Redpanda Connect configs and report any linting errors. Exits with a status code 1 if any linting errors are detected.

If a path ends with …​, Redpanda Connect lints any files with the .yaml or .yml extension.

Usage

rpk connect lint [command options] [arguments...]

Examples

rpk connect -c target.yaml lint
rpk connect lint ./configs/*.yaml
rpk connect lint ./foo.yaml ./bar.yaml
rpk connect lint ./configs/...

Flags

Value Type Description

--deprecated

-

Print linting errors for the presence of deprecated fields (default: false).

--labels

-

Print linting errors when components do not have labels (default: false).

--skip-env-var-check

-

Do not produce lint errors for environment interpolations missing defaults (default: false).

--help, -h

-

Show help.