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 lint target.yaml
rpk connect lint ./configs/*.yaml
rpk connect lint -r ./foo.yaml ./bar.yaml
rpk connect lint ./configs/...

Flags

Value Type Description

--resources, -r

-

Pulls in extra resources from a file, which you can reference with a unique label in the main configuration. Supports glob patterns (requires quotes).

--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.